I need help to disable "windows"BlitzPlus Forums/BlitzPlus Beginners Area/I need help to disable "windows"
| how can i disable the "Windows" button|
when my game is on?
while my game is on
exccept my gaming buttons(say arrow buttons)
all other buttons (Windows,
shold not function at all
how can i achieve this ?
some one gave me the below code:
HWND hTrayWnd = FindWindow("Shell_TrayWnd","")
HWND hStartWnd = GetTopWindow(hTrayWnd)
//Disable start button
//Remember to enable it when done:-
P.S. If you havent realised, you can use userlibs with the above WinAPI commands in Blitz to acheive the same!
can anyone pliz tell me how to use this in my game?
(for i never used userlibs and i dont know how to use)
(is there any other simple way?)
(PLIZ HELP ME)
;;;;a part of my game
a = false
while not a
;;;;;;;text 10,10,"Help Me, Pliz"
a = true
| Here, use this link. Dabz has answered this. |
| Right, look in your "%BLITZPLUS_ROOT%/userlibs" folder for a file called userlibs.txt|
Read it! :)
Then, look here for an example of using them:-
Jobs a good'un! :)