General information
Category:
Forms & Form designer
Hello,
"i don't understand it at all, but i'll try it a bunch more times and hope it works."
The purpose of the function is to tell the OS that a particular Rectangle in a window has to be repainted, by passing 0 as the lpRect parameter it's telling the OS to invalidate/'force a redraw' of the whole window.
Nice if it works .. it was just a good guess since Foxpro handles drawing of windows differently than any other standard windows applications.
To be more specific, FoxPro controls are not real windows (that's why they don't have a Hwnd property), instead FoxPro uses it's own drawing engine to draw the controls directly onto the Form/Window (for some historical reason's i don't remember well .. i think it was either a performance reason or introduced so the code could be used crossplatform (many years back when FoxPro X.0 was able to also run on Unix/Mac machines))
in C(++) and all other development environments that i know of the controls you put on a form are real childwindows of the form
you may try leaving out the THISFORM.Refresh(), should work also.
Regards
Christian
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only