Click here to Skip to main content

C / C++ / MFC

 
GeneralRe: Crosspost PinmvpRichard MacCutchan3-Oct-12 5:35 
AnswerRe: How to create C++/CLI Interface to access .net API from C++ code? Pinmemberjschell3-Oct-12 11:26 
Questioncan you help me Pinmemberemanalshboul2-Oct-12 12:23 
AnswerRe: can you help me PinmemberRichard Andrew x642-Oct-12 12:42 
AnswerRe: can you help me PinmemberJoan Murt3-Oct-12 0:18 
QuestionRe: can you help me PinmemberDavidCrow3-Oct-12 3:28 
QuestionGet all substrings from an application PinmemberBrandon T. H.1-Oct-12 4:43 
AnswerRe: Get all substrings from an application Pinmemberpasztorpisti1-Oct-12 5:18 
You can't do that universally for controls that are owner drawn. However with standard controls you could periodically enumerate (every second or every 5 seconds) all HWNDs and child HWNDs and check some of their parameters for example their window class and you can then do some control-type specific checks.
 
Window enumeration:
EnumWindows()[^]
EnumChildWindows()[^]
 
Getting the window class: GetClassName()[^]
 
In general you can use GetWindowText()[^] to get the titlebar, or button text, editbox text, and so on, but depending on the result of GetClassName() you can do control specific checks.
 
Conclusion: If you want to handle a lot of controls then you have to check the api of every controls and you will still be unable to handle owner draw controls in some cases.
GeneralRe: Get all substrings from an application PinmemberBrandon T. H.3-Oct-12 9:34 
GeneralRe: Get all substrings from an application Pinmemberpasztorpisti3-Oct-12 11:26 
QuestionRe: Get all substrings from an application [OT] PinmemberDavidCrow1-Oct-12 7:27 
GeneralRe: Get all substrings from an application [OT] Pinmemberpasztorpisti1-Oct-12 9:52 
AnswerRe: Get all substrings from an application [OT] PinmemberBrandon T. H.3-Oct-12 9:38 
AnswerRe: Get all substrings from an application PinmvpCPallini1-Oct-12 11:33 
JokeRe: Get all substrings from an application PinmemberChris Meech1-Oct-12 14:11 
JokeRe: Get all substrings from an application PinmvpCPallini1-Oct-12 22:10 
JokeRe: Get all substrings from an application PinmemberJoan Murt3-Oct-12 0:22 
GeneralRe: Get all substrings from an application PinmvpCPallini3-Oct-12 0:25 
QuestionHow to get a C++ console application run in a terminal/powershell type of environment? Pinmemberinfectedprof30-Sep-12 14:53 
AnswerRe: How to get a C++ console application run in a terminal/powershell type of environment? PinmemberRajesh R Subramanian30-Sep-12 22:39 
AnswerRe: How to get a C++ console application run in a terminal/powershell type of environment? Pinmemberjschell1-Oct-12 9:59 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pinmemberinfectedprof1-Oct-12 17:16 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pinmemberjschell2-Oct-12 9:38 
AnswerRe: How to get a C++ console application run in a terminal/powershell type of environment? PinmvpRichard MacCutchan1-Oct-12 22:25 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pinmemberinfectedprof1-Oct-12 22:48 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150123.1 | Last Updated 26 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid