Click here to Skip to main content
13,291,510 members (66,288 online)

C / C++ / MFC

 
GeneralRe: Crosspost Pin
Richard MacCutchan3-Oct-12 5:35
mvpRichard MacCutchan3-Oct-12 5:35 
AnswerRe: How to create C++/CLI Interface to access .net API from C++ code? Pin
jschell3-Oct-12 11:26
memberjschell3-Oct-12 11:26 
Questioncan you help me Pin
emanalshboul2-Oct-12 12:23
memberemanalshboul2-Oct-12 12:23 
AnswerRe: can you help me Pin
Richard Andrew x642-Oct-12 12:42
memberRichard Andrew x642-Oct-12 12:42 
AnswerRe: can you help me Pin
Joan Murt3-Oct-12 0:18
memberJoan Murt3-Oct-12 0:18 
QuestionRe: can you help me Pin
DavidCrow3-Oct-12 3:28
memberDavidCrow3-Oct-12 3:28 
QuestionGet all substrings from an application Pin
Brandon T. H.1-Oct-12 4:43
memberBrandon T. H.1-Oct-12 4:43 
AnswerRe: Get all substrings from an application Pin
pasztorpisti1-Oct-12 5:18
memberpasztorpisti1-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 Pin
Brandon T. H.3-Oct-12 9:34
memberBrandon T. H.3-Oct-12 9:34 
GeneralRe: Get all substrings from an application Pin
pasztorpisti3-Oct-12 11:26
memberpasztorpisti3-Oct-12 11:26 
QuestionRe: Get all substrings from an application [OT] Pin
DavidCrow1-Oct-12 7:27
memberDavidCrow1-Oct-12 7:27 
GeneralRe: Get all substrings from an application [OT] Pin
pasztorpisti1-Oct-12 9:52
memberpasztorpisti1-Oct-12 9:52 
AnswerRe: Get all substrings from an application [OT] Pin
Brandon T. H.3-Oct-12 9:38
memberBrandon T. H.3-Oct-12 9:38 
AnswerRe: Get all substrings from an application Pin
CPallini1-Oct-12 11:33
mvpCPallini1-Oct-12 11:33 
JokeRe: Get all substrings from an application Pin
Chris Meech1-Oct-12 14:11
memberChris Meech1-Oct-12 14:11 
JokeRe: Get all substrings from an application Pin
CPallini1-Oct-12 22:10
mvpCPallini1-Oct-12 22:10 
JokeRe: Get all substrings from an application Pin
Joan Murt3-Oct-12 0:22
memberJoan Murt3-Oct-12 0:22 
GeneralRe: Get all substrings from an application Pin
CPallini3-Oct-12 0:25
mvpCPallini3-Oct-12 0:25 
Questionmodify arduino code 6x24 led matrix to 10x24 - can anyone help modify this code please my email is visualfx@ananzi.co.za Pin
visualvfx6-Sep-12 8:03
membervisualvfx6-Sep-12 8:03 
AnswerRe: modify arduino code 6x24 led matrix to 10x24 - can anyone help modify this code please my email is visualfx@ananzi.co.za Pin
Chris Losinger6-Sep-12 10:28
memberChris Losinger6-Sep-12 10:28 
Questionrun bat file using ShellExecute Pin
manju 323-Aug-12 3:16
groupmanju 323-Aug-12 3:16 
AnswerRe: run bat file using ShellExecute Pin
Chris Meech23-Aug-12 3:20
memberChris Meech23-Aug-12 3:20 
AnswerRe: run bat file using ShellExecute Pin
pasztorpisti23-Aug-12 4:07
memberpasztorpisti23-Aug-12 4:07 
QuestionCan AdjustTokenPrivileges elevate the privilege as Administrator? Pin
Falconapollo17-Aug-12 6:39
memberFalconapollo17-Aug-12 6:39 
AnswerRe: What's worong with Google Code? Pin
Richard MacCutchan17-Aug-12 7:55
mvpRichard MacCutchan17-Aug-12 7:55 

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.


Advertise | Privacy |
Web04 | 2.8.171207.1 | Last Updated 12 Dec 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid