473,378 Members | 1,438 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,378 software developers and data experts.

Window class names used by the Win32 API

AdrianH
1,251 Expert 1GB
Hi, I know that there are a bunch of window class names used in the Win32 API (I think "BUTTON" is one). Does anyone know a good web reference for all of these so I can create them dynamicly using the CreateWindow() function?

I'm making a dynamicly variable tool window and is the reason why I need the names.

Further, is there a way of iterating though all of the registered window classes?

Thanks,


Adrian
Jun 3 '07 #1
5 5579
weaknessforcats
9,208 Expert Mod 8TB
Just search MSDN for Win32 classes.

To enumerate windows check out the various EnumWindows functions in MSDN.
Jun 3 '07 #2
AdrianH
1,251 Expert 1GB
Just search MSDN for Win32 classes.
Not hugely helpful. I've tried this in the past with limited success. I've just tried it now and having the same limited success.

Note: I am not a HUGE Win32 developer. Stuff I've done is pretty rudimentary using MFC and the Win32 API, it was enough to make some fairly impressive apps (my employer though so at the time anyway ;)).
To enumerate windows check out the various EnumWindows functions in MSDN.
This is for walking windows and their children have instances already. I just wanted to see what types are available and maybe search on those terms.


Adrian
Jun 3 '07 #3
Savage
1,764 Expert 1GB
Hi, I know that there are a bunch of window class names used in the Win32 API (I think "BUTTON" is one). Does anyone know a good web reference for all of these so I can create them dynamicly using the CreateWindow() function?

I'm making a dynamicly variable tool window and is the reason why I need the names.

Further, is there a way of iterating though all of the registered window classes?

Thanks,


Adrian
Is this helpfull to u?

Savage
Jun 3 '07 #4
Banfa
9,065 Expert Mod 8TB
Is this helpfull to u?
That is a link into the help files and not available to most people.


Adrian there are 3 types of predefined Window classes

MIDCLIENT
An MDI program puts a window in it's cient area to manage the document windows, there is a specific class for this window

DIALOG BOX
Dialog boxes have a specific class, however you don't need to know what it is because there are such a different subclass of windows that WIN32 API provides extra functions to create dialog boxes instead of using CreateWindow with a specified class.

Controls
This is what I assume you are interested in, the class names to create various controls, they are actually listed on MSDN here in the CreateWindow documentation.
Jun 3 '07 #5
AdrianH
1,251 Expert 1GB
That is a link into the help files and not available to most people.

Controls
This is what I assume you are interested in, the class names to create various controls, they are actually listed on MSDN here in the CreateWindow documentation.
Yeah, this was what I was referring to. Not sure how I missed it. I thought I looked up CreateWindow() already.

Thanks,


Adrian
Jun 3 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Krzysztof Stachlewski | last post by:
I tried to run the following piece of code: Python 2.3.4 (#53, May 25 2004, 21:17:02) on win32 Type "help", "copyright", "credits" or "license" for more information. >>> o = object() >>> o.a...
3
by: Danny Pressley | last post by:
Hey All, After a doc/view/frame is created and initialized, is there a way from within the frame class code (CMyChildFrame::OnUpdateFrameMenu()) to get the resource ID (nIDResource =...
2
by: Rob | last post by:
I have a DLL that requires the windows Form title and the window class. I can access the title from Me.Text, but how can I get the class ? I used WinSpy by Robert Kuster to get the class remotely...
4
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database...
2
by: Jonathan Boivin | last post by:
Hi people, Let me introduce to how I get this error. I have a form which load all my bills representation depending upon filters which each bill is a usercontrol of my own having some...
2
by: Zytan | last post by:
I want to have a Win32 class (to dump my win32 dll imports in). I want this in it's own directory Win32 in the solution explorer (since I have other classes to put in this folder), which makes...
5
by: Tom Gur | last post by:
Hi, I was wondering how do I get control over a window (Win32). to be more specific, I need to find a handle to a window of a certain program and minimize the window.
7
by: Mark | last post by:
In a standard unmanaged win32 application I can send/post a message to a window as a communication mean. Can it be down also in a dot net application? Regards Mark
3
by: djbaker | last post by:
Greetings, I am trying to create a class library/dll with C++ and I am running into a lot of trouble. I know that this is a C++ forum and not one specific to windows or VS 2005 but I'm hoping...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.