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

C / C++ / MFC

 
GeneralRe: Messages to other apps Pin
Chris Richardson12-Feb-03 17:32
Chris Richardson12-Feb-03 17:32 
GeneraldoModal() frustrations Pin
davedoc12-Feb-03 12:46
davedoc12-Feb-03 12:46 
GeneralChanging the Default CRT Heap Pin
Paul M Watt12-Feb-03 11:29
mentorPaul M Watt12-Feb-03 11:29 
GeneralRe: Changing the Default CRT Heap Pin
geo_m12-Feb-03 21:48
geo_m12-Feb-03 21:48 
GeneralAdding URLs in a CDialog Pin
Luis E. Cuadrado12-Feb-03 10:42
Luis E. Cuadrado12-Feb-03 10:42 
GeneralRe: Adding URLs in a CDialog Pin
PJ Arends12-Feb-03 10:52
professionalPJ Arends12-Feb-03 10:52 
GeneralRe: Adding URLs in a CDialog Pin
valikac12-Feb-03 11:48
valikac12-Feb-03 11:48 
Generalpuzzled about this: STL vector Pin
ns12-Feb-03 9:26
ns12-Feb-03 9:26 
If Ido:

    BOOL ret = pImageDisplay->Create(IDD_IMAGEDISPLAY, this);

    pImageDisplay->m_zoomFactor = 500;
    pImageDisplay->ShowWindow(SW_SHOW);  //<code>show window at this point in code</code>

    pImageDisplayVector.push_back(pImageDisplay);

}


THe images in the modeless dialog get the info about the zoomfactor.

But........ If I pull the pointer off the vector and do this (show the window here instead):

	loop through the vector:
{
			pImageDisplayVector[i]->m_zoomFactor  = 500
        		pImageDisplayVector[i]->ShowWindow(SW_SHOW);



the dialog doesnt get any zoom info.....

I'm doing something dumb? Missing something really obvious? Confused | :confused:


Appreciate your help,
ns
GeneralRe: puzzled about this: STL vector Pin
Christian Graus12-Feb-03 9:29
protectorChristian Graus12-Feb-03 9:29 
GeneralRe: puzzled about this: STL vector Pin
Tim Smith12-Feb-03 9:30
Tim Smith12-Feb-03 9:30 
GeneralRe: puzzled about this: STL vector Pin
palbano12-Feb-03 9:30
palbano12-Feb-03 9:30 
GeneralRe: puzzled about this: STL vector Pin
nss12-Feb-03 11:00
nss12-Feb-03 11:00 
GeneralProblem with sub menus Pin
Anonymous12-Feb-03 9:09
Anonymous12-Feb-03 9:09 
GeneralRe: Problem with sub menus Pin
KaЯl13-Feb-03 2:34
KaЯl13-Feb-03 2:34 
GeneralRe: Problem with sub menus Pin
Anonymous13-Feb-03 3:10
Anonymous13-Feb-03 3:10 
GeneralRe: Problem with sub menus Pin
KaЯl13-Feb-03 3:31
KaЯl13-Feb-03 3:31 
GeneralRe: Problem with sub menus Pin
Scorp1us13-Feb-03 9:18
Scorp1us13-Feb-03 9:18 
GeneralRe: Problem with sub menus Pin
KaЯl13-Feb-03 10:15
KaЯl13-Feb-03 10:15 
GeneralRe: Problem with sub menus Pin
tim63520-Mar-05 21:56
tim63520-Mar-05 21:56 
GeneralRe: Problem with sub menus Pin
KaЯl20-Mar-05 23:11
KaЯl20-Mar-05 23:11 
GeneralRe: Problem with sub menus Pin
tim63521-Mar-05 2:59
tim63521-Mar-05 2:59 
GeneralShareable objects... Pin
BlackSmith12-Feb-03 9:05
BlackSmith12-Feb-03 9:05 
GeneralRe: Shareable objects... Pin
palbano12-Feb-03 9:26
palbano12-Feb-03 9:26 
GeneralRe: Shareable objects... Pin
BlackSmith12-Feb-03 9:48
BlackSmith12-Feb-03 9:48 
GeneralRe: Shareable objects... Pin
palbano12-Feb-03 11:58
palbano12-Feb-03 11:58 

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.