Click here to Skip to main content
15,887,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnDropFiles() problem Pin
ghunzel0627-Mar-07 17:47
ghunzel0627-Mar-07 17:47 
GeneralRe: OnDropFiles() problem Pin
Parthi_Appu27-Mar-07 17:50
Parthi_Appu27-Mar-07 17:50 
GeneralRe: OnDropFiles() problem Pin
Naveen27-Mar-07 18:17
Naveen27-Mar-07 18:17 
GeneralRe: OnDropFiles() problem Pin
ghunzel0627-Mar-07 18:56
ghunzel0627-Mar-07 18:56 
GeneralRe: OnDropFiles() problem Pin
Parthi_Appu27-Mar-07 19:19
Parthi_Appu27-Mar-07 19:19 
AnswerRe: OnDropFiles() problem Pin
Stephen Hewitt27-Mar-07 17:23
Stephen Hewitt27-Mar-07 17:23 
GeneralRe: OnDropFiles() problem Pin
ghunzel0627-Mar-07 17:50
ghunzel0627-Mar-07 17:50 
GeneralRe: OnDropFiles() problem Pin
Parthi_Appu27-Mar-07 17:56
Parthi_Appu27-Mar-07 17:56 
ghunzel06 wrote:
// clean up
LocalFree(npszFile);
}

SetWindowText(firstFile);
}


Instead of SetWindowText(firstFile), send a message to parent window,as
CWnd pwndParent = NULL;
pwndParent = GetParent();
if (pwndParent && pwndParent->GetSafeHwnd())
 pwndParent->SendMessage(CUSTOM_MSG, WPARAM, LAPARAM);

On handling this message, set the string to the 1st edit control.


Do your Duty and Don't expect the Result
Rate this Post, if I helped You

GeneralRe: OnDropFiles() problem Pin
ghunzel0627-Mar-07 18:20
ghunzel0627-Mar-07 18:20 
GeneralRe: OnDropFiles() problem Pin
David Crow28-Mar-07 3:00
David Crow28-Mar-07 3:00 
GeneralRe: OnDropFiles() problem Pin
Stephen Hewitt27-Mar-07 17:58
Stephen Hewitt27-Mar-07 17:58 
GeneralRe: OnDropFiles() problem Pin
ghunzel0627-Mar-07 18:45
ghunzel0627-Mar-07 18:45 
GeneralRe: OnDropFiles() problem Pin
Stephen Hewitt27-Mar-07 18:53
Stephen Hewitt27-Mar-07 18:53 
GeneralRe: OnDropFiles() problem Pin
ghunzel0627-Mar-07 19:06
ghunzel0627-Mar-07 19:06 
QuestionSetTimer before CreateWindow() Pin
LiYS27-Mar-07 16:48
LiYS27-Mar-07 16:48 
AnswerRe: SetTimer before CreateWindow() Pin
Stephen Hewitt27-Mar-07 17:09
Stephen Hewitt27-Mar-07 17:09 
GeneralRe: SetTimer before CreateWindow() [modified] Pin
LiYS27-Mar-07 17:22
LiYS27-Mar-07 17:22 
GeneralRe: SetTimer before CreateWindow() Pin
Stephen Hewitt27-Mar-07 17:26
Stephen Hewitt27-Mar-07 17:26 
GeneralRe: SetTimer before CreateWindow() Pin
LiYS27-Mar-07 17:43
LiYS27-Mar-07 17:43 
GeneralRe: SetTimer before CreateWindow() [modified] Pin
LiYS27-Mar-07 19:45
LiYS27-Mar-07 19:45 
GeneralRe: SetTimer before CreateWindow() Pin
Stephen Hewitt27-Mar-07 19:53
Stephen Hewitt27-Mar-07 19:53 
Questionfloating-point to hex conversion Pin
morocco21227-Mar-07 12:03
morocco21227-Mar-07 12:03 
AnswerRe: floating-point to hex conversion Pin
cp987627-Mar-07 14:19
cp987627-Mar-07 14:19 
GeneralRe: floating-point to hex conversion Pin
morocco21228-Mar-07 2:58
morocco21228-Mar-07 2:58 
AnswerRe: floating-point to hex conversion Pin
David Crow27-Mar-07 17:08
David Crow27-Mar-07 17:08 

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.