1. Dustin Ulferts
  2. PowerBuilder
  3. Tuesday, 17 July 2018 18:07 PM UTC

We occasionally embed web browser data windows within our PowerBuilder application. One common example is to utilize Microsoft Explorer. This works well for us, but we would like to save the user's preference of type of view (icon, list, detail, etc.) and default to that type of view for the user. I've attempted to use some external functions without success, but believe the one that should work is SetWindowLong from the user32.dll library. (FUNCTION long SetWindowLong(uLong hWnd, int nIndex, long dwNewLong) LIBRARY "user32.dll" ALIAS FOR "SetWindowLong")

Any suggestions? Thank you in advance for your time and any assistance you may offer!

 

Bruce Armstrong Accepted Answer Pending Moderation
  1. Wednesday, 18 July 2018 15:53 PM UTC
  2. PowerBuilder
  3. # 1

You might take a look at these articles from Regab Sizer on PBDJ that talks about how to implement the Microsoft Common Controls in PowerBuilder, including how to send them messages:

http://pbdj.sys-con.com/node/42591

http://pbdj.sys-con.com/node/42571

One of his samples is available on the SAP website:  https://wiki.scn.sap.com/wiki/display/SYBPB/Calendar+Control

 

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.