Click here to Skip to main content
16,005,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to change value of member within object within CArray ? Pin
Alexandru Savescu30-Jul-02 0:31
Alexandru Savescu30-Jul-02 0:31 
GeneralRe: How to change value of member within object within CArray ? Pin
Raphael Kindt30-Jul-02 1:06
Raphael Kindt30-Jul-02 1:06 
AnswerRe: How to change value of member within object within CArray ? Pin
Christian Graus30-Jul-02 2:47
protectorChristian Graus30-Jul-02 2:47 
GeneralStandard Radio Buttons Pin
silverspoon29-Jul-02 22:10
silverspoon29-Jul-02 22:10 
GeneralRe: Standard Radio Buttons Pin
PJ Arends30-Jul-02 0:34
professionalPJ Arends30-Jul-02 0:34 
GeneralRe: Standard Radio Buttons Pin
silverspoon30-Jul-02 1:49
silverspoon30-Jul-02 1:49 
GeneralRe: Standard Radio Buttons Pin
PJ Arends30-Jul-02 5:52
professionalPJ Arends30-Jul-02 5:52 
GeneralTrouble with dialogs/views //HELP REALLY NEEDED Pin
klm29-Jul-02 21:56
klm29-Jul-02 21:56 
Hello friends,

i have a CView (fullscreen) on the bottom (in x-axis) and i would like to show a modeless CDialog (fullscreen) on the CView. And then i would like to show an another modeless CDialog (quarder-screen) on the CDialog (fullscreen).

I would like to create (and delete) all dialogs in the CView, and the user should operate with all dialogs at the same time.

I have try that, and my problem is this:

I see the fullscreen dialog and the quarderscreen dialog (that is right), but i don't can operate with quarder-screen dialog (that is the problem). That dialog get no mouse-messages, and the buttons (on the quarderscreen dialog) don't move down when i try to click on it.

Here is a code-snipet (that i use to create one of the dialogs):

void CViewPMain::CreatePFkt3Zeile()
{
CRect DlgPFkt3Zeile, View;
if (!m_DlgPFkt3Zeile)
{
GetClientRect(View);

m_DlgPFkt3Zeile = new CDlgPFkt3Zeile;

if (!::IsWindow(m_DlgPFkt3Zeile->GetSafeHwnd()))
m_DlgPFkt3Zeile->Create(IDD_P_FKT_3ZEILE, this);

m_DlgPFkt3Zeile->GetWindowRect(DlgPFkt3Zeile);

ASSERT(m_DlgPFkt3Zeile->SetWindowPos(NULL
, View.Width() - DlgPFkt3Zeile.Width() //int x
, View.Height() - DlgPFkt3Zeile.Height() //int y
, DlgPFkt3Zeile.Width() //int cx
, DlgPFkt3Zeile.Height() //int cy
, SWP_HIDEWINDOW | SWP_NOACTIVATE | SWP_NOZORDER));

m_DlgPFkt3Zeile->ShowWindow(SW_SHOW);
}
else
{
delete m_DlgPFkt3Zeile;
m_DlgPFkt3Zeile = 0;
}
}

At the SetWindowPos-function i have tryed a lot of parameters for the first and the last parameter, but ever i don't can operate with the second dialog.


What make i wrong at the "create" of the dialogs? Or is "multiple dialogs" not aviable? Is there any other solution that i can do?


Thank you very much for your help!

PS: Sorry for my bad english.
GeneralRe: Trouble with dialogs/views //HELP REALLY NEEDED Pin
perlmunger30-Jul-02 9:26
perlmunger30-Jul-02 9:26 
GeneralRe: Trouble with dialogs/views //HELP REALLY NEEDED Pin
klm30-Jul-02 21:03
klm30-Jul-02 21:03 
GeneralSTL Question. Pin
Anonymous29-Jul-02 21:22
Anonymous29-Jul-02 21:22 
GeneralRe: STL Question. Pin
Alexandru Savescu29-Jul-02 21:47
Alexandru Savescu29-Jul-02 21:47 
GeneralRe: STL Question. Pin
Daniel Lohmann30-Jul-02 2:28
Daniel Lohmann30-Jul-02 2:28 
GeneralPeekMessage Pin
Anonymous29-Jul-02 19:11
Anonymous29-Jul-02 19:11 
GeneralRe: PeekMessage Pin
Roman Nurik29-Jul-02 20:50
Roman Nurik29-Jul-02 20:50 
QuestionURL Help Help? Pin
Dov Sherman29-Jul-02 18:54
Dov Sherman29-Jul-02 18:54 
AnswerRe: URL Help Help? Pin
Nish Nishant29-Jul-02 19:01
sitebuilderNish Nishant29-Jul-02 19:01 
GeneralHelp!So confused with the problem,OLE DB Pin
Hamma29-Jul-02 18:28
Hamma29-Jul-02 18:28 
GeneralActive Scripting and Class Factories Pin
Roman Nurik29-Jul-02 18:13
Roman Nurik29-Jul-02 18:13 
GeneralRe: Active Scripting and Class Factories Pin
Vi229-Jul-02 19:47
Vi229-Jul-02 19:47 
GeneralRe: Active Scripting and Class Factories Pin
Roman Nurik29-Jul-02 19:49
Roman Nurik29-Jul-02 19:49 
GeneralRe: Active Scripting and Class Factories Pin
Vi229-Jul-02 20:06
Vi229-Jul-02 20:06 
GeneralRe: Active Scripting and Class Factories Pin
Roman Nurik29-Jul-02 20:23
Roman Nurik29-Jul-02 20:23 
GeneralEnableWindow Pin
Anonymous29-Jul-02 17:51
Anonymous29-Jul-02 17:51 
GeneralRe: EnableWindow Pin
Shog929-Jul-02 17:59
sitebuilderShog929-Jul-02 17:59 

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.