Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Microsoft detour + hook winapi functions Pin
David-coder7-Mar-06 6:06
David-coder7-Mar-06 6:06 
GeneralRe: Microsoft detour + hook winapi functions Pin
Stephen Hewitt7-Mar-06 12:08
Stephen Hewitt7-Mar-06 12:08 
GeneralRe: Microsoft detour + hook winapi functions Pin
David-coder8-Mar-06 3:46
David-coder8-Mar-06 3:46 
GeneralRe: Microsoft detour + hook winapi functions Pin
Stephen Hewitt8-Mar-06 11:29
Stephen Hewitt8-Mar-06 11:29 
GeneralRe: Microsoft detour + hook winapi functions Pin
David-coder9-Mar-06 7:29
David-coder9-Mar-06 7:29 
GeneralRe: Microsoft detour + hook winapi functions Pin
Stephen Hewitt9-Mar-06 11:25
Stephen Hewitt9-Mar-06 11:25 
GeneralRe: Microsoft detour + hook winapi functions Pin
David-coder20-Mar-06 2:47
David-coder20-Mar-06 2:47 
QuestionArrays and SendMessage Pin
Waldermort6-Mar-06 4:33
Waldermort6-Mar-06 4:33 
I'm trying to pass an array of char* to a dialog box through the Sendmessage function. I seem to have no problem sending the message, but I'm not quite sure how to get access to the data from the dialog box. I'm not using MFC btw.

From my winmain I have
HWND hdlg;
char *items[4];
hdlg = CreateDialog(GetModuleHandle(NULL),MAKEINTRESOURCE(IDD_MERGE),hwnd,MergeProc);
data->get_dialog_items(items);
SendMessage(hdlg,WM_NOTIFY,MAKEWPARAM(SD_IMPORT_MERGE,items),0);


I think I have to use a typecast of some sort but everything I have tried so far is giving mw compilation errors. Any help would be greatly apprecitaed.
AnswerRe: Arrays and SendMessage Pin
Iain Clarke, Warrior Programmer6-Mar-06 4:46
Iain Clarke, Warrior Programmer6-Mar-06 4:46 
GeneralRe: Arrays and SendMessage Pin
Waldermort6-Mar-06 4:56
Waldermort6-Mar-06 4:56 
Questionisolate differents parts of the string Pin
SWDevil6-Mar-06 4:20
SWDevil6-Mar-06 4:20 
AnswerRe: isolate differents parts of the string Pin
toxcct6-Mar-06 4:24
toxcct6-Mar-06 4:24 
GeneralRe: isolate differents parts of the string Pin
Roger Stoltz6-Mar-06 5:01
Roger Stoltz6-Mar-06 5:01 
GeneralRe: isolate differents parts of the string Pin
SWDevil6-Mar-06 5:04
SWDevil6-Mar-06 5:04 
GeneralRe: isolate differents parts of the string Pin
David Crow6-Mar-06 5:41
David Crow6-Mar-06 5:41 
AnswerRe: isolate differents parts of the string Pin
James R. Twine6-Mar-06 5:15
James R. Twine6-Mar-06 5:15 
QuestionEvents disappearing Pin
RichardS6-Mar-06 4:13
RichardS6-Mar-06 4:13 
AnswerRe: Events disappearing Pin
Blake Miller6-Mar-06 5:48
Blake Miller6-Mar-06 5:48 
GeneralRe: Events disappearing Pin
RichardS6-Mar-06 6:19
RichardS6-Mar-06 6:19 
Questionerror handle Pin
derek76-Mar-06 3:59
derek76-Mar-06 3:59 
AnswerRe: error handle Pin
toxcct6-Mar-06 4:11
toxcct6-Mar-06 4:11 
GeneralRe: error handle Pin
derek76-Mar-06 13:36
derek76-Mar-06 13:36 
QuestionHow can I destroy the video window? Pin
Shuang. Wu6-Mar-06 3:38
Shuang. Wu6-Mar-06 3:38 
QuestionHELP: Visual C++ 6.0 to Visual Studio.NET 2003 woes...... Pin
kevingpo6-Mar-06 3:02
kevingpo6-Mar-06 3:02 
AnswerRe: HELP: Visual C++ 6.0 to Visual Studio.NET 2003 woes...... Pin
kevingpo6-Mar-06 3:54
kevingpo6-Mar-06 3:54 

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.