
detect when in a child custom control when the parent form is minimized/maximized
Assuming you have the right window handle (don't know much about this
"Centura" thing to be honest), there's an API called IsIconic() that will
tell you of a window is minimized.
. . . . . . . . . . . . . . . . . . . . . .
Klaus H. Probst, MVP
http://www.vbbox.com/
Please post/reply to the newsgroup(s)
Quote:
> Hello,
> I am developing a UserControl in vb6 sp5 that is wrapped in C++ , and
then
> used in Centura Developer 1.5.1 ptf6 (a Vb like 4GL).
> For some reason the UserControl Should detect when the parent window of
> Centura is minimized/maximized .
> I can loop a GetParent-Apifunction to get the parent window . But wich
> function should I use to check the windowstate ? Or are is there a another
> possibility to check this , without going to the parent window ?
> Hoping To hear from you,
> Filip W.