Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Cost Calculation Problem Pin
toxcct12-Apr-06 22:58
toxcct12-Apr-06 22:58 
GeneralRe: Cost Calculation Problem Pin
Hamid_RT13-Apr-06 0:45
Hamid_RT13-Apr-06 0:45 
AnswerRe: Cost Calculation Problem Pin
_AnsHUMAN_ 12-Apr-06 23:44
_AnsHUMAN_ 12-Apr-06 23:44 
Questionadjust the step size of the ProgressBar Pin
kiran janaswamy12-Apr-06 20:30
kiran janaswamy12-Apr-06 20:30 
AnswerRe: adjust the step size of the ProgressBar Pin
Abyss12-Apr-06 20:41
Abyss12-Apr-06 20:41 
QuestionRe: adjust the step size of the ProgressBar Pin
David Crow13-Apr-06 2:44
David Crow13-Apr-06 2:44 
AnswerRe: adjust the step size of the ProgressBar Pin
FarPointer12-Apr-06 22:23
FarPointer12-Apr-06 22:23 
QuestionUrgent:How do i enumerate all controls present in a window? Pin
giftsana12-Apr-06 20:27
giftsana12-Apr-06 20:27 
I have to write a module in VC++ which will enumerate all controls(including menus, buttons etc) present in a Window and launch each control programatically e.g for a submenu item i have to launch it using only it's shortcut key.

I have successfully been able to enumerate all submenu items within each menu e.g WordPad. i get each submenu string using GetMenuString() and it's id using GetMenuItemID().

The problem is how do i enumerate the other controls present e.g in the Wordpad window e.g we have the 'New', 'Open' buttons, and a no. of drop down combo boxes etc. i want to be able to enumerate all of these controls and get their id/ hwnd / string name and programatically launch each window associated with e.g. the 'New' button etc.

How do i do this?

This is a test application to enumerate all Menu/submenus and all controls present in a window and launch each submenu window or controls window one after the other using their short cut keys if the menu has one.

Kindly suggest me a way to do, if a sample code exists kindly update.

Awaiting a response.

Sincerely
Giftsana

AnswerRe: Urgent:How do i enumerate all controls present in a window? Pin
Abyss12-Apr-06 20:35
Abyss12-Apr-06 20:35 
GeneralRe: Urgent:How do i enumerate all controls present in a window? Pin
giftsana12-Apr-06 20:49
giftsana12-Apr-06 20:49 
AnswerRe: Urgent:How do i enumerate all controls present in a window? Pin
FarPointer12-Apr-06 22:15
FarPointer12-Apr-06 22:15 
GeneralRe: Urgent:How do i enumerate all controls present in a window? Pin
giftsana12-Apr-06 22:19
giftsana12-Apr-06 22:19 
QuestionOLE link issue Pin
Abyss12-Apr-06 19:55
Abyss12-Apr-06 19:55 
QuestionIn need of some good help books on how to use InstallShield for VC++6 Pin
CodeVarma12-Apr-06 19:54
CodeVarma12-Apr-06 19:54 
AnswerRe: In need of some good help books on how to use InstallShield for VC++6 Pin
DanYELL13-Apr-06 4:42
DanYELL13-Apr-06 4:42 
QuestionActiveX Help Pin
Identity Undisclosed12-Apr-06 19:49
Identity Undisclosed12-Apr-06 19:49 
QuestionOnInitialUpdate() Pin
RockyJames12-Apr-06 19:39
RockyJames12-Apr-06 19:39 
QuestionAccessing the Controls from one From to Another Form Pin
kiran janaswamy12-Apr-06 19:35
kiran janaswamy12-Apr-06 19:35 
AnswerRe: Accessing the Controls from one From to Another Form Pin
Hamid_RT12-Apr-06 21:20
Hamid_RT12-Apr-06 21:20 
GeneralRe: Accessing the Controls from one From to Another Form Pin
Aqueel12-Apr-06 21:40
Aqueel12-Apr-06 21:40 
GeneralRe: Accessing the Controls from one From to Another Form Pin
Hamid_RT12-Apr-06 22:05
Hamid_RT12-Apr-06 22:05 
GeneralRe: Accessing the Controls from one From to Another Form Pin
kiran janaswamy13-Apr-06 0:50
kiran janaswamy13-Apr-06 0:50 
GeneralRe: Accessing the Controls from one From to Another Form Pin
kiran janaswamy13-Apr-06 1:17
kiran janaswamy13-Apr-06 1:17 
AnswerRe: Accessing the Controls from one From to Another Form Pin
Hamid_RT12-Apr-06 22:18
Hamid_RT12-Apr-06 22:18 
AnswerRe: Accessing the Controls from one From to Another Form Pin
David Crow18-Apr-06 3:29
David Crow18-Apr-06 3:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.