You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
Knuth --
In DIALOG NEW hParent&, title$, [x&], [y&], xx&, yy& [, style& [, exstyle&]] TO hDlg&
hDlg& is a window handle
For example, you can use SetWindowText hDlg&, "Text" to change caption
that was my first guess, but a 3rd party GPFed when I passed that handle to that tool. The handle received from CreateWindow on the other hand, worked as expected. I'll try that again...
Anyway - thanks a lot, Semen.
Knuth
P.S. Dave, Lance, you might want to make that clearer in the documentation of PB/DLL.
P.P.S The above mentioned 3rd party tool is the Virtual Print Engine http://www.idealsoftware.de/EV_MAIN.HTM .
I'm about to translate the C-Header and demo program to PB.
[This message has been edited by Knuth Konrad (edited January 27, 2000).]
My guess is that you translated the function call declaration wrong.
I doubt that. As I explained (at least I tried to<g> : After the tool GPFed when I passed the the DDT dialog handle to the DLL, I created a window using CreateWindow() instead and passed that window handle to the DLL and it worked. So my guess is that I did something else wrong. I need to check that again.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment