Click here to Skip to main content
15,916,030 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionHow do you set fill to none or clear? Pin
BuckBrown14-Dec-07 7:59
BuckBrown14-Dec-07 7:59 
AnswerRe: How do you set fill to none or clear? Pin
BuckBrown14-Dec-07 9:20
BuckBrown14-Dec-07 9:20 
AnswerRe: How do you set fill to none or clear? Pin
Mark Salsbery14-Dec-07 10:14
Mark Salsbery14-Dec-07 10:14 
GeneralResizing Forms Pin
mikobi14-Dec-07 4:33
mikobi14-Dec-07 4:33 
QuestionHow to get a function pointer ? Pin
Ky Nam13-Dec-07 6:02
Ky Nam13-Dec-07 6:02 
AnswerRe: How to get a function pointer ? Pin
dkaatz13-Dec-07 7:35
dkaatz13-Dec-07 7:35 
GeneralRe: How to get a function pointer ? Pin
Ky Nam13-Dec-07 14:46
Ky Nam13-Dec-07 14:46 
GeneralRe: How to get a function pointer ? Pin
Luc Pattyn13-Dec-07 15:05
sitebuilderLuc Pattyn13-Dec-07 15:05 
Hi,

I don't know the details in C++ but here is how I do it in C#; it takes a delegate,
and code along these lines where list happened to be an ArrayList:

public delegate bool LP_EnumWindowsProc(IntPtr hWnd, int lParam);
 
// this call fills list with all visible windows
EnumChildWindows(hWnd,  new LP_EnumWindowsProc(CollectVisibleWindows), 0);
 
private static bool CollectVisibleWindows(IntPtr hWnd, int lParam) {
	if(IsWindowVisible(hWnd)) list.Add(hWnd);
	return true;	// please continue enumeration !
}


Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]


Sorry for any delays in replying, I currently don't always get e-mail notifications.


AnswerRe: How to get a function pointer ? Pin
Ky Nam13-Dec-07 17:42
Ky Nam13-Dec-07 17:42 
AnswerRe: How to get a function pointer ? Pin
George L. Jackson14-Dec-07 3:59
George L. Jackson14-Dec-07 3:59 
GeneralNET controls Pin
mikobi13-Dec-07 3:55
mikobi13-Dec-07 3:55 
GeneralFlash ocx in c++ Pin
topcatalpha12-Dec-07 4:59
topcatalpha12-Dec-07 4:59 
Generalsplit forms Pin
mikobi12-Dec-07 3:55
mikobi12-Dec-07 3:55 
GeneralRe: split forms Pin
led mike12-Dec-07 4:56
led mike12-Dec-07 4:56 
GeneralRe: split forms Pin
mikobi13-Dec-07 0:17
mikobi13-Dec-07 0:17 
GeneralRe: split forms Pin
Hamid_RT20-Dec-07 2:23
Hamid_RT20-Dec-07 2:23 
GeneralVariable Change Pin
sidkraft11-Dec-07 5:59
sidkraft11-Dec-07 5:59 
GeneralRe: Variable Change Pin
led mike11-Dec-07 7:07
led mike11-Dec-07 7:07 
QuestionUser stops loop. Pin
Naturality10-Dec-07 12:31
Naturality10-Dec-07 12:31 
GeneralRe: User stops loop. Pin
George L. Jackson10-Dec-07 13:56
George L. Jackson10-Dec-07 13:56 
GeneralRe: User stops loop. Pin
Naturality10-Dec-07 21:00
Naturality10-Dec-07 21:00 
QuestionHow to pass object between MFC C++ DLL and C# program? Pin
JMisfit10-Dec-07 4:20
JMisfit10-Dec-07 4:20 
AnswerRe: How to pass object between MFC C++ DLL and C# program? [modified] Pin
led mike10-Dec-07 4:54
led mike10-Dec-07 4:54 
Questionhow can i get input from hardware(Non computer Devices ) Devices ? Pin
r.srinivas10-Dec-07 1:48
r.srinivas10-Dec-07 1:48 
GeneralRe: how can i get input from hardware(Non computer Devices ) Devices ? Pin
led mike10-Dec-07 5:01
led mike10-Dec-07 5:01 

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.