Click here to Skip to main content
15,890,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Displaying an html page in a window Derived from CWnd Pin
James R. Twine12-Jan-07 3:09
James R. Twine12-Jan-07 3:09 
AnswerRe: Displaying an html page in a window Derived from CWnd Pin
Hamid_RT12-Jan-07 6:29
Hamid_RT12-Jan-07 6:29 
AnswerRe: Displaying an html page in a window Derived from CWnd Pin
Gary R. Wheeler13-Jan-07 2:57
Gary R. Wheeler13-Jan-07 2:57 
QuestionHelp with MDI Apps with Picture Control Pin
kitty512-Jan-07 2:52
kitty512-Jan-07 2:52 
AnswerRe: Help with MDI Apps with Picture Control Pin
James R. Twine12-Jan-07 3:11
James R. Twine12-Jan-07 3:11 
GeneralRe: Help with MDI Apps with Picture Control Pin
kitty512-Jan-07 3:35
kitty512-Jan-07 3:35 
GeneralRe: Help with MDI Apps with Picture Control Pin
James R. Twine12-Jan-07 6:51
James R. Twine12-Jan-07 6:51 
GeneralRe: Help with MDI Apps with Picture Control Pin
kitty516-Jan-07 3:25
kitty516-Jan-07 3:25 
James,

I set up the dialogs to be modeless.
it's created:
<br />
void CCameraDataGenTxApp::OnImageViewer()<br />
{<br />
	ImageViewer *imgViewDlg;<br />
	imgViewDlg = new ImageViewer();<br />
	imgViewDlg->Create(IDD_IMAGEVIEWER, NULL);<br />
	imgViewDlg->SetWindowPos(NULL, 0, 0, 620, 390, SWP_NOMOVE);<br />
	imgViewDlg->ShowWindow(SW_SHOW);<br />
}<br />

Called:
<br />
BEGIN_MESSAGE_MAP(CCameraDataGenTxApp, CWinApp)<br />
	ON_COMMAND(ID_APP_ABOUT, &CCameraDataGenTxApp::OnAppAbout)<br />
	// Standard file based document commands<br />
	ON_COMMAND(ID_FILE_NEW, &CWinApp::OnFileNew)<br />
	ON_COMMAND(ID_CAMERA, &CCameraDataGenTxApp::OnCamera1Tx)<br />
	ON_COMMAND(ID_IMGVIEWER, &CCameraDataGenTxApp::OnImageViewer)<br />
	ON_COMMAND(ID_FILE_OPEN, &CWinApp::OnFileOpen)<br />
END_MESSAGE_MAP()<br />

that's why i thought that this would work.
what i'm trying to achieve at the end is to have 3 separate window where we can view pictures from 3 separate cameras we collect data from and 1 dialog box that controls the camera....

if I had just a dialog based app my code works. i simply initialize everything in ::OnInitDialog() and then it has a function called ::OnPaint() that I can call showImage()....

It is in an MDI application where everything gets hazy... Cry | :((
since it doesn't have an ::OnPaint() or ::OnInitDialog() function.
Please advice.

thanks,
Kathleen

Kitty5

AnswerRe: Help with MDI Apps with Picture Control Pin
Hamid_RT12-Jan-07 17:34
Hamid_RT12-Jan-07 17:34 
GeneralRe: Help with MDI Apps with Picture Control Pin
kitty516-Jan-07 3:33
kitty516-Jan-07 3:33 
Questionmotion detection Pin
ceejeeb12-Jan-07 1:49
ceejeeb12-Jan-07 1:49 
JokeRe: motion detection Pin
Rajesh R Subramanian12-Jan-07 2:26
professionalRajesh R Subramanian12-Jan-07 2:26 
AnswerRe: motion detection Pin
Cool Ju12-Jan-07 2:48
Cool Ju12-Jan-07 2:48 
GeneralRe: motion detection Pin
ceejeeb12-Jan-07 4:33
ceejeeb12-Jan-07 4:33 
GeneralRe: motion detection Pin
Cool Ju13-Jan-07 4:12
Cool Ju13-Jan-07 4:12 
AnswerRe: motion detection Pin
Hamid_RT22-May-07 19:23
Hamid_RT22-May-07 19:23 
QuestionTo check and Create Folder in Win32 API Pin
Suresh H12-Jan-07 0:39
Suresh H12-Jan-07 0:39 
AnswerRe: To check and Create Folder in Win32 API Pin
CPallini12-Jan-07 0:55
mveCPallini12-Jan-07 0:55 
AnswerRe: To check and Create Folder in Win32 API Pin
Rajesh R Subramanian12-Jan-07 1:07
professionalRajesh R Subramanian12-Jan-07 1:07 
GeneralRe: To check and Create Folder in Win32 API Pin
Suresh H12-Jan-07 1:50
Suresh H12-Jan-07 1:50 
GeneralRe: To check and Create Folder in Win32 API Pin
Hamid_RT12-Jan-07 2:01
Hamid_RT12-Jan-07 2:01 
GeneralRe: To check and Create Folder in Win32 API Pin
Suresh H12-Jan-07 2:11
Suresh H12-Jan-07 2:11 
GeneralRe: To check and Create Folder in Win32 API Pin
PJ Arends12-Jan-07 9:36
professionalPJ Arends12-Jan-07 9:36 
AnswerRe: To check and Create Folder in Win32 API Pin
Hamid_RT12-Jan-07 1:14
Hamid_RT12-Jan-07 1:14 
AnswerRe: To check and Create Folder in Win32 API Pin
James R. Twine12-Jan-07 1:32
James R. Twine12-Jan-07 1:32 

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.