Okay, so this should work fine to have a better overview over the code:
...
Case #WM_CLOSE
result = Main_OnClose( hWnd, message, wParam, lParam)
ProcedureReturn result
Case #WM_CREATE
...
Procedure Main_OnClose( hWnd, message, wParam, lParam)
If MessageBox_( hWnd," it program?", "EXIT ...
Search found 1078 matches
- Sun Mar 09, 2014 1:27 pm
- Forum: Windows
- Topic: Win32: WM_PAINT == No MessageBox() ?
- Replies: 7
- Views: 4805
- Sun Mar 09, 2014 12:33 pm
- Forum: Windows
- Topic: Win32: WM_PAINT == No MessageBox() ?
- Replies: 7
- Views: 4805
Re: Win32: WM_PAINT == No MessageBox() ?
Seems there is something more wrong ^^
- Sun Mar 09, 2014 12:24 pm
- Forum: Windows
- Topic: Win32: WM_PAINT == No MessageBox() ?
- Replies: 7
- Views: 4805
Re: Win32: WM_PAINT == No MessageBox() ?
Ah cool. Thanks for the hint. I have changed both Callback procedures and it works well :wink:
Edited:
I have tried to use Main_OnClose() when #WM_CLOSE attached to WindowCallback_Main().
When pressing 'No', dont exit program, it still exist. I have tried ProcedureReturn and ProcedureReturn ...
Edited:
I have tried to use Main_OnClose() when #WM_CLOSE attached to WindowCallback_Main().
When pressing 'No', dont exit program, it still exist. I have tried ProcedureReturn and ProcedureReturn ...
- Sun Mar 09, 2014 10:58 am
- Forum: Windows
- Topic: Win32: WM_PAINT == No MessageBox() ?
- Replies: 7
- Views: 4805
Win32: WM_PAINT == No MessageBox() ?
I have a strange bug in my Win32 program and finally found the part which causes this problem. Inside the procedure 'WindowCallback_Main()' i am using 'CASE #WM_PAINT' without any code yet. The bug causes only if this single line is active. Removing this single line, all works fine. I am not sure ...
- Sat Mar 08, 2014 8:16 pm
- Forum: Windows
- Topic: rmtp voip anyone done examples of code at all on these?
- Replies: 1
- Views: 2082
Re: rmtp voip anyone done examples of code at all on these?
Maybe this infos are usefull for you
http://en.wikipedia.org/wiki/Real_Time_ ... g_Protocol
http://en.wikipedia.org/wiki/Real_Time_ ... g_Protocol
- Sat Mar 08, 2014 5:24 pm
- Forum: Windows
- Topic: How to grey/blur screen, while own window is on top?
- Replies: 19
- Views: 11973
Re: How to grey/blur screen, while own window is on top?
Thanks for all your replies and examples. The methode with the special Win32 API isnt listed here. However i will use a solution, you guys posted here! *thumbs up*
- Fri Mar 07, 2014 5:10 pm
- Forum: Windows
- Topic: How to grey/blur screen, while own window is on top?
- Replies: 19
- Views: 11973
Re: How to grey/blur screen, while own window is on top?
Nobody an idea? 

- Sun Feb 23, 2014 7:34 pm
- Forum: Feature Requests and Wishlists
- Topic: Supporting [] for arrays, instead only ()
- Replies: 6
- Views: 2368
Re: Supporting [] for arrays, instead only ()
That's why it could be an optional feature... People can choose to use () or [] for arrays.+1 But the problem of breaking backward compatibility![]()
Sure, using only [] for arrays would be smarter.
- Sun Feb 23, 2014 2:45 pm
- Forum: Feature Requests and Wishlists
- Topic: Supporting [] for arrays, instead only ()
- Replies: 6
- Views: 2368
Supporting [] for arrays, instead only ()
It would be nice to support [] for arrays too, instead only ().
Using () for functions and maybe optional [] for arrays would make the source more readable and make clear if its a function or array.
Using () for functions and maybe optional [] for arrays would make the source more readable and make clear if its a function or array.
- Fri Feb 21, 2014 9:47 pm
- Forum: Feature Requests and Wishlists
- Topic: Multiline support for arguments
- Replies: 6
- Views: 2853
Re: Multiline support for arguments
Great!!
Fred, thanks for having this nice feature!

- Fri Feb 21, 2014 1:51 pm
- Forum: Feature Requests and Wishlists
- Topic: Multiline support for arguments
- Replies: 6
- Views: 2853
Multiline support for arguments
I would like to have (maybe optional) the feature, to write commands with a lot of arguments in multiline, like in C/C++ for CreateWIndow_() as example.
A coma at the end of the line would define, there are more arguments next line, until the ")" is followed.
A coma at the end of the line would define, there are more arguments next line, until the ")" is followed.
- Fri Feb 21, 2014 1:48 pm
- Forum: Tricks 'n' Tips
- Topic: #Gadget or GadgetID - convert automatically to GadgetID
- Replies: 9
- Views: 4840
Re: #Gadget or GadgetID - convert automatically to GadgetID
Do a check with IsGadget()
- Thu Feb 20, 2014 10:05 pm
- Forum: Windows
- Topic: How to grey/blur screen, while own window is on top?
- Replies: 19
- Views: 11973
Re: How to grey/blur screen, while own window is on top?
@Rashad:
Thanks for the code. Sure, this would be "faked" solution.
But as far as i remember, there was / or still is a Win32 API call / function doing this.
@all
I think the same effect was seen on an older Windows version, when the shutdown-dialog was shown.
However, i can find something on the ...
Thanks for the code. Sure, this would be "faked" solution.
But as far as i remember, there was / or still is a Win32 API call / function doing this.
@all
I think the same effect was seen on an older Windows version, when the shutdown-dialog was shown.
However, i can find something on the ...
- Thu Feb 20, 2014 3:36 pm
- Forum: Windows
- Topic: How to grey/blur screen, while own window is on top?
- Replies: 19
- Views: 11973
How to grey/blur screen, while own window is on top?
Some years ago, i had a nice source example but i am not really sure how to search for it and how it exactly worked.
Afaik it was a nice Win32 API, which greyed or blured all the shown elements on your monitor (dektop, all windows, taskbar i.e.) and brining your own window original to the front.
In ...
Afaik it was a nice Win32 API, which greyed or blured all the shown elements on your monitor (dektop, all windows, taskbar i.e.) and brining your own window original to the front.
In ...
- Thu Feb 20, 2014 3:15 pm
- Forum: Windows
- Topic: Default Win 8.1 desktop
- Replies: 3
- Views: 2399
Re: Default Win 8.1 desktop
@PB:
Afaik from the standard installation, it changes the wallpapers.
If you want take and share screenshots of your app, i have just to say to things:
1)
People are interested in the app and its GUI; and not on what type of wallpaper you are running.
2)
I think today most people are using ...
Afaik from the standard installation, it changes the wallpapers.
If you want take and share screenshots of your app, i have just to say to things:
1)
People are interested in the app and its GUI; and not on what type of wallpaper you are running.
2)
I think today most people are using ...