Announcement

Collapse
No announcement yet.

Child dialog and focus

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

  • Child dialog and focus

    Guys --
    How to understand in callback for child dialog, when it receives and loses focus ? It has focus or not ?
    GetForegroundWindow shows parent, can't detect WM_SETFOCUS.
    Perhaps, I do something wrong, but if to change ws_child to ws_popup all works.


    [This message has been edited by Semen Matusovski (edited April 21, 2000).]

  • #2
    Do you want to receive focus notification for the dialog or for child controls within that dialog?



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

    Comment


    • #3
      I wanted for whole (child) dialog (I have no controls - I simply execute SetWindowRgn and paint).

      Just now I fixed a problem - I refused from child DDT and registrated a class (then Control Add "MYCLASS", ...).
      Now I have all expected messages.

      Summary: DDT is good, w/o DDT - better.

      [This message has been edited by Semen Matusovski (edited April 21, 2000).]

      Comment

      Working...
      X