CFanatic
>
Programming
>
Win32 Programming
get Class
User Name
Save
Password
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
get Class
topic posted under
Win32 Programming
which is a part of
Programming
category in
CFanatic Forum
Thread Tools
Display Modes
#
1
10-06-2008, 10:48 PM
johny10151981
Junior Member
Join Date: Oct 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
More
get Class
is there any kind of function by which i can retrive the class of specifide window handle.
#
2
10-07-2008, 03:58 AM
xpi0t0s
Senior Member
Join Date: Jul 2008
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
|
More
Re: get Class
Yep, use GetClassName to get the class name from the window handle, GetWindowLong(hWnd, GWL_HINSTANCE) to get the instance from the window handle, then call GetClassInfoEx to get the class from the instance and class name.
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problem while creating a class for new dialog
dathatreya
MFC Programming
1
04-02-2008
01:00 AM
Simple class not working
psppb
C++ Programming
3
01-08-2008
10:24 PM
sizeof for a class
coderzone
C Programming
2
06-05-2007
10:29 PM
How can you get the current class name without using StackTrace?
codeunlock
C# Programming
0
04-29-2007
12:42 AM
Class Project
aaholland
C++ Programming
0
09-11-2006
11:40 PM
Advertisement
CFanatic Search
Custom Search
Advertisement
All times are GMT -5. The time now is
04:52 PM
.
Contact Us
-
C, C++, MFC, Managed C++ & C# Programming
-
Make Money Online
-
Privacy Statement
-
Top
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact
here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board