Click here to Skip to main content
15,913,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to get the size of an array of strings? Pin
James R. Twine12-Jan-07 8:29
James R. Twine12-Jan-07 8:29 
GeneralRe: how to get the size of an array of strings? Pin
Chris Losinger12-Jan-07 8:52
professionalChris Losinger12-Jan-07 8:52 
GeneralRe: how to get the size of an array of strings? Pin
James R. Twine12-Jan-07 9:17
James R. Twine12-Jan-07 9:17 
AnswerRe: how to get the size of an array of strings? Pin
Arris7413-Jan-07 0:52
Arris7413-Jan-07 0:52 
QuestionFreeRTOS Pin
ikbahrian12-Jan-07 3:48
ikbahrian12-Jan-07 3:48 
AnswerRe: FreeRTOS Pin
David Crow12-Jan-07 4:34
David Crow12-Jan-07 4:34 
GeneralRe: FreeRTOS Pin
ikbahrian12-Jan-07 4:38
ikbahrian12-Jan-07 4:38 
AnswerRe: FreeRTOS Pin
Roger Stoltz12-Jan-07 5:45
Roger Stoltz12-Jan-07 5:45 
AnswerRe: FreeRTOS Pin
ThatsAlok14-Jan-07 19:46
ThatsAlok14-Jan-07 19:46 
Question"Detecting" *.h files from the current project directory Pin
ljr2412-Jan-07 3:13
ljr2412-Jan-07 3:13 
AnswerRe: "Detecting" *.h files from the current project directory Pin
benjymous12-Jan-07 3:18
benjymous12-Jan-07 3:18 
AnswerRe: "Detecting" *.h files from the current project directory Pin
James R. Twine12-Jan-07 3:18
James R. Twine12-Jan-07 3:18 
AnswerRe: "Detecting" *.h files from the current project directory Pin
#realJSOP12-Jan-07 23:26
professional#realJSOP12-Jan-07 23:26 
QuestionDisplaying an html page in a window Derived from CWnd Pin
georgekjolly12-Jan-07 3:06
georgekjolly12-Jan-07 3:06 
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 

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.