Announcement

Collapse
No announcement yet.

Equivalent to CONTROL HANDLE for DDT Dialog?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Knuth Konrad
    replied
    Dave,

    My guess is that you translated the function call declaration wrong.
    I doubt that. As I explained (at least I tried to<g&gt : 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.

    Thanks for your assitance.

    Knuth

    Leave a comment:


  • Dave Navarro
    replied
    Knuth,

    That is the correct value. My guess is that you translated the function call declaration wrong.

    --Dave


    -------------
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Knuth Konrad
    replied
    Semen,

    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).]

    Leave a comment:


  • Semen Matusovski
    replied
    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

    Leave a comment:


  • Knuth Konrad
    started a topic Equivalent to CONTROL HANDLE for DDT Dialog?

    Equivalent to CONTROL HANDLE for DDT Dialog?

    Hi everybody,

    is there an equivalant to the CONTROL HANDLE statement to obtain the window handle of a DDT dialog? Or how do I get the window handle?

    TIA, Knuth
Working...
X