473,387 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Message 36? WM_????

what is windows message 36? It seems to be getting fired to my wndproc even
before WM_CREATE.

Nov 17 '05 #1
30 2402
"Bonj" <a@b.com> wrote in message
news:Om****************@TK2MSFTNGP09.phx.gbl...
what is windows message 36? It seems to be getting fired to my wndproc even before WM_CREATE.


WM_GETMINMAXINFO.
--
Jeff Partch [VC++ MVP]
Nov 17 '05 #2
Is it needed to be handled in a certain way, as it keeps firing before my
WM_CREATE message? A couple of others aswell actually, WM_CREATE is about
the fourth in the early stages of the newborn window's lifetime.
"Jeff Partch [MVP]" <je***@mvps.org> wrote in message
news:u2****************@tk2msftngp13.phx.gbl...
"Bonj" <a@b.com> wrote in message
news:Om****************@TK2MSFTNGP09.phx.gbl...
what is windows message 36? It seems to be getting fired to my wndproc

even
before WM_CREATE.


WM_GETMINMAXINFO.
--
Jeff Partch [VC++ MVP]

Nov 17 '05 #3
"Bonj" <a@b.com> wrote in message
news:OZ****************@TK2MSFTNGP09.phx.gbl...
Is it needed to be handled in a certain way, as it keeps firing before my
WM_CREATE message? A couple of others aswell actually, WM_CREATE is about
the fourth in the early stages of the newborn window's lifetime.


Like most messages, DefWindowProc will do what it believes to be the right
thing. If you don't want the default behavior, you can handle it. Here's a
kb article...

http://support.microsoft.com/default...Ben-us%3B67166

--
Jeff Partch [VC++ MVP]
Nov 17 '05 #4
OK Thanks. Did you just know that off the top of your head?

"Jeff Partch [MVP]" <je***@mvps.org> wrote in message
news:OG****************@TK2MSFTNGP10.phx.gbl...
"Bonj" <a@b.com> wrote in message
news:OZ****************@TK2MSFTNGP09.phx.gbl...
Is it needed to be handled in a certain way, as it keeps firing before my WM_CREATE message? A couple of others aswell actually, WM_CREATE is about the fourth in the early stages of the newborn window's lifetime.


Like most messages, DefWindowProc will do what it believes to be the right
thing. If you don't want the default behavior, you can handle it. Here's a
kb article...

http://support.microsoft.com/default...Ben-us%3B67166

--
Jeff Partch [VC++ MVP]

Nov 17 '05 #5
OK, it gets 36 (getminmaxinfo), 129 (wm_nccreate), then 131, then WM_CREATE
(which is 1).
What's 131?

"Jeff Partch [MVP]" <je***@mvps.org> wrote in message
news:OG****************@TK2MSFTNGP10.phx.gbl...
"Bonj" <a@b.com> wrote in message
news:OZ****************@TK2MSFTNGP09.phx.gbl...
Is it needed to be handled in a certain way, as it keeps firing before my WM_CREATE message? A couple of others aswell actually, WM_CREATE is about the fourth in the early stages of the newborn window's lifetime.


Like most messages, DefWindowProc will do what it believes to be the right
thing. If you don't want the default behavior, you can handle it. Here's a
kb article...

http://support.microsoft.com/default...Ben-us%3B67166

--
Jeff Partch [VC++ MVP]

Nov 17 '05 #6
"Bonj" <a@b.com> wrote in message
news:eD****************@TK2MSFTNGP10.phx.gbl...
OK, it gets 36 (getminmaxinfo), 129 (wm_nccreate), then 131, then WM_CREATE (which is 1).
What's 131?


WM_NCCALCSIZE?
--
Jeff Partch [VC++ MVP]
Nov 17 '05 #7
"Bonj" <a@b.com> wrote in message
news:u5****************@TK2MSFTNGP12.phx.gbl...
OK Thanks. Did you just know that off the top of your head?


Know which? I knew the message, knew the kb article was there, but did not
know the kb id or URL.
--
Jeff Partch [VC++ MVP]
Nov 17 '05 #8
If you are debugging your application, type

messageNo, wm

in the watch window to get the actual name of the message. For example

131,wm = WM_NCCALCSIZE

--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------

"Bonj" <a@b.com> wrote in message
news:eD****************@TK2MSFTNGP10.phx.gbl...
OK, it gets 36 (getminmaxinfo), 129 (wm_nccreate), then 131, then WM_CREATE (which is 1).
What's 131?

"Jeff Partch [MVP]" <je***@mvps.org> wrote in message
news:OG****************@TK2MSFTNGP10.phx.gbl...
"Bonj" <a@b.com> wrote in message
news:OZ****************@TK2MSFTNGP09.phx.gbl...
Is it needed to be handled in a certain way, as it keeps firing before my WM_CREATE message? A couple of others aswell actually, WM_CREATE is about the fourth in the early stages of the newborn window's lifetime.


Like most messages, DefWindowProc will do what it believes to be the right thing. If you don't want the default behavior, you can handle it. Here's a kb article...

http://support.microsoft.com/default...Ben-us%3B67166

--
Jeff Partch [VC++ MVP]


Nov 17 '05 #9
yes I meant the message (!)

"Jeff Partch [MVP]" <je***@mvps.org> wrote in message
news:On****************@TK2MSFTNGP10.phx.gbl...
"Bonj" <a@b.com> wrote in message
news:u5****************@TK2MSFTNGP12.phx.gbl...
OK Thanks. Did you just know that off the top of your head?


Know which? I knew the message, knew the kb article was there, but did not
know the kb id or URL.
--
Jeff Partch [VC++ MVP]

Nov 17 '05 #10
Go learn to use google and / or windows.h tard
"Bonj" <a@b.com> wrote in message
news:eD**************@TK2MSFTNGP10.phx.gbl...
OK, it gets 36 (getminmaxinfo), 129 (wm_nccreate), then 131, then WM_CREATE (which is 1).
What's 131?

"Jeff Partch [MVP]" <je***@mvps.org> wrote in message
news:OG****************@TK2MSFTNGP10.phx.gbl...
"Bonj" <a@b.com> wrote in message
news:OZ****************@TK2MSFTNGP09.phx.gbl...
Is it needed to be handled in a certain way, as it keeps firing before my WM_CREATE message? A couple of others aswell actually, WM_CREATE is about the fourth in the early stages of the newborn window's lifetime.


Like most messages, DefWindowProc will do what it believes to be the right thing. If you don't want the default behavior, you can handle it. Here's a kb article...

http://support.microsoft.com/default...Ben-us%3B67166

--
Jeff Partch [VC++ MVP]


Nov 17 '05 #11
Well I would if I only HAD a windows.h!!!
<.> wrote in message news:e$***************@TK2MSFTNGP10.phx.gbl...
Go learn to use google and / or windows.h tard
"Bonj" <a@b.com> wrote in message
news:eD**************@TK2MSFTNGP10.phx.gbl...
OK, it gets 36 (getminmaxinfo), 129 (wm_nccreate), then 131, then WM_CREATE
(which is 1).
What's 131?

"Jeff Partch [MVP]" <je***@mvps.org> wrote in message
news:OG****************@TK2MSFTNGP10.phx.gbl...
"Bonj" <a@b.com> wrote in message
news:OZ****************@TK2MSFTNGP09.phx.gbl...
> Is it needed to be handled in a certain way, as it keeps firing
before
my
> WM_CREATE message? A couple of others aswell actually, WM_CREATE is

about
> the fourth in the early stages of the newborn window's lifetime.

Like most messages, DefWindowProc will do what it believes to be the

right thing. If you don't want the default behavior, you can handle it.
Here's a kb article...

http://support.microsoft.com/default...Ben-us%3B67166

--
Jeff Partch [VC++ MVP]



Nov 17 '05 #12
Bonj wrote:
Well I would if I only HAD a windows.h!!!

How can you compile anyhting if you don't have it ????

Arnaud
MVP - VC
Nov 17 '05 #13
I use Borland

"Arnaud Debaene" <ad******@club-internet.fr> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Bonj wrote:
Well I would if I only HAD a windows.h!!!

How can you compile anyhting if you don't have it ????

Arnaud
MVP - VC

Nov 17 '05 #14
Well I would if I only HAD a windows.h!!!
<.> wrote in message news:e$***************@TK2MSFTNGP10.phx.gbl...
Go learn to use google and / or windows.h tard
"Bonj" <a@b.com> wrote in message
news:eD**************@TK2MSFTNGP10.phx.gbl...
OK, it gets 36 (getminmaxinfo), 129 (wm_nccreate), then 131, then WM_CREATE
(which is 1).
What's 131?

"Jeff Partch [MVP]" <je***@mvps.org> wrote in message
news:OG****************@TK2MSFTNGP10.phx.gbl...
"Bonj" <a@b.com> wrote in message
news:OZ****************@TK2MSFTNGP09.phx.gbl...
> Is it needed to be handled in a certain way, as it keeps firing
before
my
> WM_CREATE message? A couple of others aswell actually, WM_CREATE is

about
> the fourth in the early stages of the newborn window's lifetime.

Like most messages, DefWindowProc will do what it believes to be the

right thing. If you don't want the default behavior, you can handle it.
Here's a kb article...

http://support.microsoft.com/default...Ben-us%3B67166

--
Jeff Partch [VC++ MVP]



Nov 17 '05 #15
Bonj wrote:
Well I would if I only HAD a windows.h!!!

How can you compile anyhting if you don't have it ????

Arnaud
MVP - VC
Nov 17 '05 #16
I use Borland

"Arnaud Debaene" <ad******@club-internet.fr> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Bonj wrote:
Well I would if I only HAD a windows.h!!!

How can you compile anyhting if you don't have it ????

Arnaud
MVP - VC

Nov 17 '05 #17
"Bonj" <a@b.com> wrote in message news:<eY**************@TK2MSFTNGP10.phx.gbl>...
I use Borland


What Borland? Delphi? C++ Builder?

The windows.h comes with the platform SDK, and you need it, whichever
compiler you use, if you want to call the windowing API.

Arnaud
MVP - VC
Nov 17 '05 #18
The consts are in WinUser.h I attached it in teh previous reply.
"Arnaud Debaene" <ad******@club-internet.fr> wrote in message
news:16************************@posting.google.com ...
"Bonj" <a@b.com> wrote in message

news:<eY**************@TK2MSFTNGP10.phx.gbl>...
I use Borland


What Borland? Delphi? C++ Builder?

The windows.h comes with the platform SDK, and you need it, whichever
compiler you use, if you want to call the windowing API.

Arnaud
MVP - VC

Nov 17 '05 #19
Oh you've ATTACHED it! lovely! I'll just plug it in to the SDK include directory then shall I?
Nov 17 '05 #20
yes, Borland C++ builder. On my computer now
c:\borland\bcc55\includ
contains a huge amount of .h files. The normal amount for an include directory
When I install the SDK, th
c:\program files\microsoft.net\sdk\v1.1\includ
contains about 20 files

So I use Borland

Nov 17 '05 #21
That's not the SDK you need for writing real Windows programs, i.e. the
Platform SDK. That is the .NET SDK for writing .NET programs.

The Platform SDK can be downloaded here:
http://www.microsoft.com/msdownload/...sdk/sdkupdate/

Best Regards
Julian N.

"Bonj" <an*******@discussions.microsoft.com> wrote in message
news:3C**********************************@microsof t.com...
yes, Borland C++ builder. On my computer now,
c:\borland\bcc55\include
contains a huge amount of .h files. The normal amount for an include directory. When I install the SDK, the
c:\program files\microsoft.net\sdk\v1.1\include
contains about 20 files.

So I use Borland.

Nov 17 '05 #22
"Bonj" <a@b.com> wrote in message news:<eY**************@TK2MSFTNGP10.phx.gbl>...
I use Borland


What Borland? Delphi? C++ Builder?

The windows.h comes with the platform SDK, and you need it, whichever
compiler you use, if you want to call the windowing API.

Arnaud
MVP - VC
Nov 17 '05 #23
The consts are in WinUser.h I attached it in teh previous reply.
"Arnaud Debaene" <ad******@club-internet.fr> wrote in message
news:16************************@posting.google.com ...
"Bonj" <a@b.com> wrote in message

news:<eY**************@TK2MSFTNGP10.phx.gbl>...
I use Borland


What Borland? Delphi? C++ Builder?

The windows.h comes with the platform SDK, and you need it, whichever
compiler you use, if you want to call the windowing API.

Arnaud
MVP - VC

Nov 17 '05 #24
Oh you've ATTACHED it! lovely! I'll just plug it in to the SDK include directory then shall I?
Nov 17 '05 #25
yes, Borland C++ builder. On my computer now
c:\borland\bcc55\includ
contains a huge amount of .h files. The normal amount for an include directory
When I install the SDK, th
c:\program files\microsoft.net\sdk\v1.1\includ
contains about 20 files

So I use Borland

Nov 17 '05 #26
That's not the SDK you need for writing real Windows programs, i.e. the
Platform SDK. That is the .NET SDK for writing .NET programs.

The Platform SDK can be downloaded here:
http://www.microsoft.com/msdownload/...sdk/sdkupdate/

Best Regards
Julian N.

"Bonj" <an*******@discussions.microsoft.com> wrote in message
news:3C**********************************@microsof t.com...
yes, Borland C++ builder. On my computer now,
c:\borland\bcc55\include
contains a huge amount of .h files. The normal amount for an include directory. When I install the SDK, the
c:\program files\microsoft.net\sdk\v1.1\include
contains about 20 files.

So I use Borland.

Nov 17 '05 #27
Well what do you actualy GET with the .NET SDK then? Because you get the C#
compiler with the framework, and surely don't you need windows.h to compile
a managed C++ program?

"Julian Nicholls" <so*********************@mccueplc.nospam.com> wrote in
message news:Oa****************@tk2msftngp13.phx.gbl...
That's not the SDK you need for writing real Windows programs, i.e. the
Platform SDK. That is the .NET SDK for writing .NET programs.

The Platform SDK can be downloaded here:
http://www.microsoft.com/msdownload/...sdk/sdkupdate/

Best Regards
Julian N.

"Bonj" <an*******@discussions.microsoft.com> wrote in message
news:3C**********************************@microsof t.com...
yes, Borland C++ builder. On my computer now,
c:\borland\bcc55\include
contains a huge amount of .h files. The normal amount for an include

directory.
When I install the SDK, the
c:\program files\microsoft.net\sdk\v1.1\include
contains about 20 files.

So I use Borland.


Nov 17 '05 #28
You're right, you probably don't need windows.h to make a managed
application, hence it is not provided as part of the .NET framework or its
SDK. The Visual C++ compiler, capable of building managed and non-managed
applications, includes windows.h and the other necessary files.

The Borland compiler presumably doesn't ship with windows.h and all the
other essentials for building non-managed applications, because all the
files are available for download from the URL I provided.

All the Best
Julian N.
"Bonj" <a@b.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Well what do you actualy GET with the .NET SDK then? Because you get the C# compiler with the framework, and surely don't you need windows.h to compile a managed C++ program?

"Julian Nicholls" <so*********************@mccueplc.nospam.com> wrote in
message news:Oa****************@tk2msftngp13.phx.gbl...
That's not the SDK you need for writing real Windows programs, i.e. the
Platform SDK. That is the .NET SDK for writing .NET programs.

The Platform SDK can be downloaded here:
http://www.microsoft.com/msdownload/...sdk/sdkupdate/

Best Regards
Julian N.

Nov 17 '05 #29
Julian Nicholls <so*********************@mccueplc.nospam.com> wrote:
[...]
The Borland compiler presumably doesn't ship with windows.h and all the
other essentials for building non-managed applications, because all the
files are available for download from the URL I provided.
The Borland compiler ships with <windows.h>.
(Even the free one does.)
All the Best
Julian N.
[...]


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #30
In that case, I have no idea why 'Bonj' doesn't have it, and its friends :-)

Best Regards
Julian N.

"Hendrik Schober" <Sp******@gmx.de> wrote in message
news:u1****************@tk2msftngp13.phx.gbl...
Julian Nicholls <so*********************@mccueplc.nospam.com> wrote:
[...]
The Borland compiler presumably doesn't ship with windows.h and all the
other essentials for building non-managed applications, because all the
files are available for download from the URL I provided.


The Borland compiler ships with <windows.h>.
(Even the free one does.)
All the Best
Julian N.
[...]


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers

Nov 17 '05 #31

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hugh Welford | last post by:
Hi Using WIN XP and FP2000 Using CDO.message to out put a message from my site, I get the following error message 8004020f from using the code:- strsql = "SELECT * FROM details WHERE patid...
8
by: Brian Keating EI9FXB | last post by:
Would I be correct in saying that the only way to get a user message into a Windows form would be to use P/Invoke with Message? Of is there some part of the .NET API that I am totally un aware...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
2
by: Microsoft News | last post by:
What I have is a message box that pops up. It is another browser window. The code is a general function that you pass message, title and a key to. The box works great except, that if you are on a...
0
by: ronscottlangham | last post by:
I am working on a custom WCF EndpoingBehavior that will modify the messages coming in and out of my Service. I am having an error related to the modification of the message in the...
2
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used,...
3
by: Steven Allport | last post by:
I am working on processing eml email message using the email module (python 2.5), on files exported from an Outlook PST file, to extract the composite parts of the email. In most instances this...
0
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
2
by: bernd | last post by:
Hi netties, posted this in a different group already, which seems to be inappropriate. I create a message queue with msgget(), sent a 5-byte message to it with msgsnd() and try to receive the...
2
by: forums_mp | last post by:
Facing a design problem here and I'm not sure how to solve this. The system consists of bi-directional communication between a subject communicating with two (at least for now ) listeners. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.