Click here to Skip to main content
11,706,024 members (52,488 online)

C / C++ / MFC

 
QuestionHow to create C++/CLI Interface to access .net API from C++ code? Pin
litu kumar3-Oct-12 2:14
memberlitu kumar3-Oct-12 2:14 
AnswerCrosspost Pin
Peter_in_27803-Oct-12 2:24
memberPeter_in_27803-Oct-12 2:24 
GeneralRe: Crosspost Pin
litu kumar3-Oct-12 2:30
memberlitu kumar3-Oct-12 2:30 
GeneralRe: Crosspost Pin
Richard MacCutchan3-Oct-12 2:32
mvpRichard MacCutchan3-Oct-12 2:32 
GeneralRe: Crosspost Pin
Peter_in_27803-Oct-12 2:48
memberPeter_in_27803-Oct-12 2:48 
GeneralRe: Crosspost Pin
DavidCrow3-Oct-12 3:19
memberDavidCrow3-Oct-12 3:19 
GeneralRe: Crosspost Pin
Richard MacCutchan3-Oct-12 4:35
mvpRichard MacCutchan3-Oct-12 4:35 
AnswerRe: How to create C++/CLI Interface to access .net API from C++ code? Pin
jschell3-Oct-12 10:26
memberjschell3-Oct-12 10:26 
Questioncan you help me Pin
emanalshboul2-Oct-12 11:23
memberemanalshboul2-Oct-12 11:23 
AnswerRe: can you help me Pin
Richard Andrew x642-Oct-12 11:42
memberRichard Andrew x642-Oct-12 11:42 
AnswerRe: can you help me Pin
Joan Murt2-Oct-12 23:18
memberJoan Murt2-Oct-12 23:18 
QuestionRe: can you help me Pin
DavidCrow3-Oct-12 2:28
memberDavidCrow3-Oct-12 2:28 
QuestionGet all substrings from an application Pin
Brandon T. H.1-Oct-12 3:43
memberBrandon T. H.1-Oct-12 3:43 
AnswerRe: Get all substrings from an application Pin
pasztorpisti1-Oct-12 4:18
memberpasztorpisti1-Oct-12 4: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 8:34
memberBrandon T. H.3-Oct-12 8:34 
GeneralRe: Get all substrings from an application Pin
pasztorpisti3-Oct-12 10:26
memberpasztorpisti3-Oct-12 10:26 
QuestionRe: Get all substrings from an application [OT] Pin
DavidCrow1-Oct-12 6:27
memberDavidCrow1-Oct-12 6:27 
GeneralRe: Get all substrings from an application [OT] Pin
pasztorpisti1-Oct-12 8:52
memberpasztorpisti1-Oct-12 8:52 
AnswerRe: Get all substrings from an application [OT] Pin
Brandon T. H.3-Oct-12 8:38
memberBrandon T. H.3-Oct-12 8:38 
AnswerRe: Get all substrings from an application Pin
CPallini1-Oct-12 10:33
mvpCPallini1-Oct-12 10:33 
JokeRe: Get all substrings from an application Pin
Chris Meech1-Oct-12 13:11
memberChris Meech1-Oct-12 13:11 
JokeRe: Get all substrings from an application Pin
CPallini1-Oct-12 21:10
mvpCPallini1-Oct-12 21:10 
JokeRe: Get all substrings from an application Pin
Joan Murt2-Oct-12 23:22
memberJoan Murt2-Oct-12 23:22 
GeneralRe: Get all substrings from an application Pin
CPallini2-Oct-12 23:25
mvpCPallini2-Oct-12 23:25 
QuestionHow to get a C++ console application run in a terminal/powershell type of environment? Pin
infectedprof30-Sep-12 13:53
memberinfectedprof30-Sep-12 13:53 
AnswerRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
Rajesh R Subramanian30-Sep-12 21:39
memberRajesh R Subramanian30-Sep-12 21:39 
AnswerRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
jschell1-Oct-12 8:59
memberjschell1-Oct-12 8:59 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
infectedprof1-Oct-12 16:16
memberinfectedprof1-Oct-12 16:16 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
jschell2-Oct-12 8:38
memberjschell2-Oct-12 8:38 
AnswerRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
Richard MacCutchan1-Oct-12 21:25
mvpRichard MacCutchan1-Oct-12 21:25 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
infectedprof1-Oct-12 21:48
memberinfectedprof1-Oct-12 21:48 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
Richard MacCutchan2-Oct-12 2:51
mvpRichard MacCutchan2-Oct-12 2:51 
Questionproblem Pin
emanalshboul30-Sep-12 9:42
memberemanalshboul30-Sep-12 9:42 
AnswerRe: problem Pin
Albert Holguin1-Oct-12 4:09
memberAlbert Holguin1-Oct-12 4:09 
QuestionGeneric Get and Set as interface Pin
Durga_Devi30-Sep-12 1:13
memberDurga_Devi30-Sep-12 1:13 
AnswerRe: Generic Get and Set as interface Pin
CPallini30-Sep-12 3:03
mvpCPallini30-Sep-12 3:03 
AnswerRe: Generic Get and Set as interface Pin
pasztorpisti30-Sep-12 5:10
memberpasztorpisti30-Sep-12 5:10 
GeneralRe: Generic Get and Set as interface Pin
Durga_Devi30-Sep-12 8:13
memberDurga_Devi30-Sep-12 8:13 
GeneralRe: Generic Get and Set as interface Pin
pasztorpisti30-Sep-12 8:30
memberpasztorpisti30-Sep-12 8:30 
GeneralRe: Generic Get and Set as interface Pin
Durga_Devi30-Sep-12 22:13
memberDurga_Devi30-Sep-12 22:13 
GeneralRe: Generic Get and Set as interface Pin
pasztorpisti30-Sep-12 22:59
memberpasztorpisti30-Sep-12 22:59 
GeneralRe: Generic Get and Set as interface Pin
Durga_Devi3-Oct-12 10:14
memberDurga_Devi3-Oct-12 10:14 
GeneralRe: Generic Get and Set as interface Pin
pasztorpisti3-Oct-12 10:30
memberpasztorpisti3-Oct-12 10:30 
QuestionCrystal Report Win32 C++ in VS2010 Pin
simuytrix28-Sep-12 21:51
membersimuytrix28-Sep-12 21:51 
AnswerRe: Crystal Report Win32 C++ in VS2010 Pin
Richard MacCutchan28-Sep-12 22:11
mvpRichard MacCutchan28-Sep-12 22:11 
AnswerRe: Crystal Report Win32 C++ in VS2010 Pin
Davide Zaccanti1-Oct-12 10:15
memberDavide Zaccanti1-Oct-12 10:15 
QuestionMigration from VC2006 to 2008 Pin
Stan the man28-Sep-12 15:55
memberStan the man28-Sep-12 15:55 
AnswerRe: Migration from VC2006 to 2008 Pin
Richard MacCutchan28-Sep-12 22:10
mvpRichard MacCutchan28-Sep-12 22:10 
GeneralRe: Migration from VC2006 to 2008 Pin
Stan the man28-Sep-12 23:23
memberStan the man28-Sep-12 23:23 
GeneralRe: Migration from VC2006 to 2008 Pin
Richard MacCutchan28-Sep-12 23:33
mvpRichard MacCutchan28-Sep-12 23:33 

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
Web02 | 2.8.150819.1 | Last Updated 28 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid