Ok, thanks to Ohm over at kvraudio.com, here's another tidbit apparently 
resolving the child issue. It replaces WS_POPUP with WS_CHILD flags. Why 
haven't I thought of that myself?

Replace:
    SetParent(fl_xid(dlgWnd_), parentWindow);

With:
    HWND hWnd = (HWND)fl_xid(dlgWnd_);
    SetWindowLong(hWnd, GWL_STYLE, (GetWindowLong(hWnd, GWL_STYLE) &~ WS_POPUP) 
| WS_CHILD);
    SetParent(hWnd, parentWindow);

Here's a link to Ohm's mini tutorial:
http://ohm.110mb.com/fltk.php
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to