Click here to Skip to main content
15,902,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modal Dailog Box Pin
Ryan Binns8-Jul-03 17:02
Ryan Binns8-Jul-03 17:02 
GeneralNeed CEditView source code or Example Pin
Anonymous8-Jul-03 9:36
Anonymous8-Jul-03 9:36 
GeneralRe: Need CEditView source code or Example Pin
David Crow8-Jul-03 9:44
David Crow8-Jul-03 9:44 
GeneralControls losing focus Pin
PaulFrazee8-Jul-03 8:31
PaulFrazee8-Jul-03 8:31 
GeneralRestricting resizing of controlbars Pin
electronicman_x8-Jul-03 8:08
electronicman_x8-Jul-03 8:08 
GeneralRe: Restricting resizing of controlbars Pin
David Crow8-Jul-03 9:54
David Crow8-Jul-03 9:54 
GeneralRe: Restricting resizing of controlbars Pin
electronicman_x8-Jul-03 10:36
electronicman_x8-Jul-03 10:36 
GeneralModeless Child Dialog Pin
Daishy8-Jul-03 8:00
Daishy8-Jul-03 8:00 
Hi Everybody,
I've spend some time trying to attach a dialog to winamp 2.xx(like the Plugins for winamp). It's not a Plugindll, but an indipendent exefile. I've tried to do it with;

HWND m_hWinamp = FindWindow("Winamp v1.x",NULL); //Find Winamp
CWnd pWin;pWin.m_hWnd = m_hWinamp; //(Is this possible?) I've tried to generate a CWnd for the Createfunction

//this code is for making the modeless Dialog
CTestDlg *dlg = new CTestDlg;
dlg->Create(IDD_TEST_DIALOG, &pWin);
dlg->ShowWindow(SW_SHOWNORMAL);

But i get an abnormal program termination in the dlg->Create(IDD_xyz, &pWin) line as i run the program. Is it after all possible to attach my own window to an other program, or is there another, better way to something like that?
Thanks for your help! I hope i've explained it clearly Smile | :)
GeneralRe: Modeless Child Dialog Pin
Magnus Westin8-Jul-03 8:14
Magnus Westin8-Jul-03 8:14 
GeneralRe: Modeless Child Dialog Pin
Daishy10-Jul-03 3:38
Daishy10-Jul-03 3:38 
GeneralRecent File List (MRU) Pin
Rome Singh8-Jul-03 7:26
Rome Singh8-Jul-03 7:26 
GeneralRe: Recent File List (MRU) Pin
David Crow8-Jul-03 7:34
David Crow8-Jul-03 7:34 
GeneralRe: Recent File List (MRU) Pin
Rome Singh8-Jul-03 7:45
Rome Singh8-Jul-03 7:45 
QuestionEveryone has STUpload source code in MCSD C++ Kit? Pin
Anonymous8-Jul-03 7:06
Anonymous8-Jul-03 7:06 
GeneralGetOpenFileName thread problem Pin
Anonymous8-Jul-03 6:59
Anonymous8-Jul-03 6:59 
GeneralRe: GetOpenFileName thread problem Pin
Joaquín M López Muñoz8-Jul-03 7:08
Joaquín M López Muñoz8-Jul-03 7:08 
GeneralRe: GetOpenFileName thread problem Pin
John M. Drescher8-Jul-03 7:14
John M. Drescher8-Jul-03 7:14 
GeneralRe: GetOpenFileName thread problem Pin
Anonymous8-Jul-03 7:29
Anonymous8-Jul-03 7:29 
GeneralRe: GetOpenFileName thread problem Pin
David Crow8-Jul-03 7:24
David Crow8-Jul-03 7:24 
GeneralRe: GetOpenFileName thread problem Pin
Anonymous8-Jul-03 7:31
Anonymous8-Jul-03 7:31 
GeneralRe: GetOpenFileName thread problem Pin
David Crow8-Jul-03 7:38
David Crow8-Jul-03 7:38 
QuestionText Editor as a list control? Pin
Jay Hova8-Jul-03 6:36
Jay Hova8-Jul-03 6:36 
AnswerRe: Text Editor as a list control? Pin
Magnus Westin8-Jul-03 6:48
Magnus Westin8-Jul-03 6:48 
GeneralRe: Text Editor as a list control? Pin
Jay Hova8-Jul-03 7:53
Jay Hova8-Jul-03 7:53 
GeneralRe: Text Editor as a list control? Pin
Magnus Westin8-Jul-03 8:10
Magnus Westin8-Jul-03 8:10 

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.