How I prevent to click to main MENU and prevent to open other dialog windows twice, 3,4,... times ?
I saw some command in one sample or manual what by I cannot found where

I want make, then if I click on MENU, select some function that open next dialog window, than must close this dialog when want select other one.
Maybe it is SetAppFocus(), ?
My source code is in my other post DCBROWSE refresh.
Also I have question, how sizing and positioning Aplication window size, size of dialogs, for universal torun on user PCs with differently screen resolutions ? Maybe on have resolution 640/480, anyone 1280/1024,... etc.
I count size from SetAppWindow():currentsize(), then set main app windows to size for example 0,9x currentsize ,
ane other dialog windows ? in PIXEL size or ROW, COL ? what is better, If i count their size in 0,xx of current size, I can fill better screen, if in row,col, user with hgh resolution have small dialog windows.
Need too count font size ? to best "visual design" of aplication ?
Sizing in relative row, col is easier

thanks...