Click here to Skip to main content
15,880,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to share memory between instances of dll Pin
Joe Woodbury25-Jan-10 18:35
professionalJoe Woodbury25-Jan-10 18:35 
GeneralRe: How to share memory between instances of dll Pin
Sauce!25-Jan-10 19:30
Sauce!25-Jan-10 19:30 
QuestionIs there any alternative for GetAsyncKeyState( int ) function in visual c++? Pin
Nilesh Hamane25-Jan-10 0:05
Nilesh Hamane25-Jan-10 0:05 
QuestionRe: Is there any alternative for GetAsyncKeyState( int ) function in visual c++? Pin
CPallini25-Jan-10 0:23
mveCPallini25-Jan-10 0:23 
AnswerRe: Is there any alternative for GetAsyncKeyState( int ) function in visual c++? Pin
Nilesh Hamane25-Jan-10 0:46
Nilesh Hamane25-Jan-10 0:46 
GeneralRe: Is there any alternative for GetAsyncKeyState( int ) function in visual c++? Pin
Rajesh R Subramanian25-Jan-10 1:18
professionalRajesh R Subramanian25-Jan-10 1:18 
AnswerRe: Is there any alternative for GetAsyncKeyState( int ) function in visual c++? Pin
Code-o-mat25-Jan-10 3:13
Code-o-mat25-Jan-10 3:13 
QuestionDialog created in Taskbar Pin
Anu_Bala24-Jan-10 23:21
Anu_Bala24-Jan-10 23:21 
i have created two modeless dailog and invoking it in InitInstance().
That two dialog is displayed correctly.But what happened is, the second dialog creates icon in Taskbar like main applcation seperatley apart form main application.It has its own close,Move menu option.
How its possible.I posted my code below.
In InitInstance()
pMainFrame->AlarmBanner();
pMainFrame->ToolTab();

void CMainFrame::AlarmBanner()
{
	CAlarmBanner *oAbanner;
	oAbanner = new CAlarmBanner;
	oAbanner->Create(IDD_ALARMBANNER,this);
	oAbanner->ShowWindow(SW_NORMAL);
	
}
void CMainFrame::ToolTab()
{
	CToolTab *otoolbar;
	otoolbar = new CToolTab;	
	otoolbar->Create(IDD_TOOLBAR_DIALOG,this);
	otoolbar->ShowWindow(SW_NORMAL);	
}

BOOL CToolTab::OnInitDialog()
{
	CDialog::OnInitDialog();	
	m_brush.CreateSolidBrush(RGB(173, 216, 230)); 	
	SetWindowPos(&CWnd::wndBottom,0,80,45,SystemDM.dmPelsHeight,SWP_SHOWWINDOW);
	return TRUE;  // return TRUE unless you set the focus to a control
	// EXCEPTION: OCX Property Pages should return FALSE
}

BOOL CAlarmBanner::OnInitDialog()
{
	CDialog::OnInitDialog();

	SetWindowPos(&CWnd::wndBottom,0,0, SystemDM.dmPelsWidth, SystemDM.dmPelsHeight/12, SWP_SHOWWINDOW);
		return TRUE;  // return TRUE unless you set the focus to a control
	// EXCEPTION: OCX Property Pages should return FALSE
}


Anu

AnswerRe: Dialog created in Taskbar Pin
LunaticFringe25-Jan-10 0:35
LunaticFringe25-Jan-10 0:35 
GeneralRe: Dialog created in Taskbar Pin
Anu_Bala25-Jan-10 1:03
Anu_Bala25-Jan-10 1:03 
QuestionX,Y of maximised window Pin
Anu_Bala24-Jan-10 22:30
Anu_Bala24-Jan-10 22:30 
AnswerRe: X,Y of maximised window Pin
CPallini24-Jan-10 23:15
mveCPallini24-Jan-10 23:15 
GeneralRe: X,Y of maximised window Pin
Anu_Bala24-Jan-10 23:33
Anu_Bala24-Jan-10 23:33 
QuestionRe: X,Y of maximised window Pin
Nelek24-Jan-10 23:38
protectorNelek24-Jan-10 23:38 
GeneralRe: X,Y of maximised window Pin
CPallini24-Jan-10 23:38
mveCPallini24-Jan-10 23:38 
GeneralRe: X,Y of maximised window Pin
Anu_Bala24-Jan-10 23:57
Anu_Bala24-Jan-10 23:57 
QuestionRe: X,Y of maximised window Pin
CPallini25-Jan-10 0:05
mveCPallini25-Jan-10 0:05 
AnswerRe: X,Y of maximised window Pin
Anu_Bala25-Jan-10 0:45
Anu_Bala25-Jan-10 0:45 
QuestionRe: X,Y of maximised window Pin
CPallini25-Jan-10 1:29
mveCPallini25-Jan-10 1:29 
QuestionAccess to a POP3 mailbox: Windows Messaging and Collaboration Pin
VictorSotnikov24-Jan-10 22:20
VictorSotnikov24-Jan-10 22:20 
AnswerRe: Access to a POP3 mailbox: Windows Messaging and Collaboration Pin
Rozis25-Jan-10 12:10
Rozis25-Jan-10 12:10 
Questioninitialize disk using c++ code Pin
Madan Chauhan24-Jan-10 19:21
Madan Chauhan24-Jan-10 19:21 
QuestionRe: initialize disk using c++ code Pin
Adam Roderick J24-Jan-10 19:36
Adam Roderick J24-Jan-10 19:36 
AnswerRe: initialize disk using c++ code Pin
Madan Chauhan24-Jan-10 19:42
Madan Chauhan24-Jan-10 19:42 
QuestionHow to convert a CString object to char array in VC++ MFC Pin
Member 439977124-Jan-10 19:17
Member 439977124-Jan-10 19:17 

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.