Re: NEWERA - screen re-display
Posted in 1997
Topics: Stored Procedures & SPL
In article <u9AkYDAxGIzzMAK5@excelsis.co.uk>, Mike Ripley <mike.ripley@excelsis.co.uk> wrote: >I have a small main window that only contains drop down menus. All other >windows in the project are opened from this main window. >Code for opening windows first checks to see if window is open then >opens it and gives focus to field on window. >This works fine because if a window gets hidden then it can be brought >to front by clicking the menu item. >Unfortunately if there are more than about 3 windows open, the >refreshing only partially works and as the window comes to the front >part of it is shown and part is cleared. >Any suggestions? I'm not sure I completely understand your problem, buf if you want to make sure focus is on your window try this; Function setActiveWindow(window ixWindow) Returning Void Begin_c HWND wwin, oldWindow; End_c If window Is Null Then Return End If Begin_c wwin = __getHWndFromixWindow(window); oldWindow = SetActiveWindow(wwin); End_c End Function If it's just a refresh problem, does ixApp::refresh() not work? Cheers, Mike.