|
What's the total number of windows messages defined?
Code-Frog:So if this is Pumpkinhead. Time for him to run and hide. It's an interesting thought really.
|
|
|
|
|
Just a little question: why do you want to know that ? Do you want to define your own messages and be sure that it doesn't have the same ID as an existing message ?
If yes, then you can safely start from WM_USER message:
#define WM_MYMESSAGE WM_USER + 1
|
|
|
|
|
Nope. I was just curious to know the size of it.
Code-Frog:So if this is Pumpkinhead. Time for him to run and hide. It's an interesting thought really.
|
|
|
|
|
Cedric Moonen wrote: #define WM_MYMESSAGE WM_USER + 1
Ouch! I know your not asking but still there are better ways to create app level mssages. Message Management[^]
From Article
WM_USER: obsolete
Older books on Windows programming tell about how to define user-defined messages using the symbol WM_USER. This technique is obsolete. There were too many problems with WM_USER-based symbols conflicting with messages that Microsoft was using.
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
humm you must check out Window standard Header files
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Wow!! So nice to get a reply from you after a looonnggggg time
Code-Frog:So if this is Pumpkinhead. Time for him to run and hide. It's an interesting thought really.
|
|
|
|
|
VuNic wrote: Wow!! So nice to get a reply from you after a looonnggggg time
Check winuser.h
|
|
|
|
|
To get the OS version, I used the sample code from http://msdn2.microsoft.com/en-gb/library/ms724429.aspx
I am getting
Error C2039: 'wProductType' : is not a member of '_OSVERSIONINFOEXA' on compile.
Error C2065: 'VER_NT_WORKSTATION' : undeclared identifier
I saw that wProductType not a member of OSVERSIONINFOEX. & VER_NT_WORKSTATION not define in winbase.h
The PSDK version i am using is 5.2.3790.1830
How to solve this issue. I want the code should work in Vista also
|
|
|
|
|
Which IDE you are using ? There should not be problem with VS2K5 .
|
|
|
|
|
|
You need to change include directories path to point to inlcudes in latest platform SDK.
Use Tools-->Options-->Directoies .
|
|
|
|
|
Thanks Prasad, It worked when i pointed to new PSDK
|
|
|
|
|
|
hi,
I'm trying to create a Form from a dialog box template whithout Document/View Architecture. Can any one help me?
Thanks.
|
|
|
|
|
Can you be more clear , about what you want to achieve?
|
|
|
|
|
Actually I'm trying to design a resizable form from a dialog box resource. I don't want to use document view architechture. How can I create a CFormView object that uses the dialog box I designed in the resource editor.
|
|
|
|
|
Humayun Kabir Himu wrote: How can I create a CFormView object that uses the dialog box I designed in the resource editor.
Why you want CFormView ? You can use CDialog instead.
|
|
|
|
|
Humayun Kabir Himu wrote: ...a dialog box template whithout Document/View Architecture.
This is the default behavior for dialog-based applications. Now if you have an SDI or MDI application, see here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I just need it
|
|
|
|
|
hi ,
this is ramya. In ntgraph, i can set the x coordinate label value to date thru properties page. but, i can't locate a method to change or to input any of my date value to the control.
CAN ANY ONE OF U HELP ME?.
THANK YOU.
ramya murugesh
-- modified at 2:10 Tuesday 9th January, 2007
|
|
|
|
|
Do you want to set values for controls?
|
|
|
|
|
i want to set the coordinate values in x-axis.
|
|
|
|
|
ramya_murugesh wrote: i want to set the coordinate values in x-axis.
is it come with Microsoft Visual Studio or some other Vendor
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
hi i want to develop an application in vc++ using which i can complete system hardware information.can anyone help me?i got one way to use wmi(windows management instrumentation) but i don't know how to apply it efficiently.so can anyone provide me some coding guidance?
Thanking you.
|
|
|
|
|
Try GetSystemMetrics() , SystemParametersInfo() and look at the System Information Functions[^] in msdn.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|