Home > database >  Pb do touch screen system Main program open to open the Main window titlebar how to hide title
Pb do touch screen system Main program open to open the Main window titlebar how to hide title

Time:09-25

. How to make w_main titlebar=false although other can hide the title titlebar, but cannot use the Main program to open direct open open, unless open a Main window first, narrow, then open the other types of can, there are other good method? Thank you very much!

CodePudding user response:

Make it another type,

CodePudding user response:

Statement of API
 FUNCTION ulong GetWindowLong (long HWND, long nIndex) LIBRARY "user32. DLL" ALIAS FOR "GetWindowLongA 
"The FUNCTION ulong SetWindowLong (long HWND, long nIndex, long dwNewLong) LIBRARY "user32. DLL" ALIAS FOR "SetWindowLongA"


Window open event in writing:
 Long Style 
Style=getwindowlong (handle (this) - 16)
//Style=Style - 12845056
////Style=Style - 21411156 full screen window
////Style=Style - 29990999 full screen can't minimize
Style=Style - 29990999
Setwindowlong (handle (this) - 16, Style)

CodePudding user response:

To change the window type
  • Related