Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get the selectedColumn in a CListCtrl. Pin
Stuart Dootson23-Apr-09 22:01
professionalStuart Dootson23-Apr-09 22:01 
GeneralRe: How to get the selectedColumn in a CListCtrl. Pin
FISH78623-Apr-09 22:13
FISH78623-Apr-09 22:13 
GeneralRe: How to get the selectedColumn in a CListCtrl. Pin
Stuart Dootson23-Apr-09 22:40
professionalStuart Dootson23-Apr-09 22:40 
AnswerRe: How to get the selectedColumn in a CListCtrl. Pin
Rolf Kristensen1-May-09 11:50
Rolf Kristensen1-May-09 11:50 
QuestionDestructor of CView Pin
prithaa23-Apr-09 21:22
prithaa23-Apr-09 21:22 
AnswerRe: Destructor of CView Pin
CPallini23-Apr-09 21:27
mveCPallini23-Apr-09 21:27 
GeneralRe: Destructor of CView Pin
prithaa23-Apr-09 21:31
prithaa23-Apr-09 21:31 
GeneralRe: Destructor of CView Pin
CPallini23-Apr-09 22:05
mveCPallini23-Apr-09 22:05 
GeneralRe: Destructor of CView Pin
prithaa24-Apr-09 0:39
prithaa24-Apr-09 0:39 
GeneralRe: Destructor of CView Pin
CPallini24-Apr-09 0:47
mveCPallini24-Apr-09 0:47 
Question[Message Deleted] Pin
vctrlao23-Apr-09 20:55
vctrlao23-Apr-09 20:55 
AnswerRe: the endless loop Pin
Cedric Moonen23-Apr-09 21:05
Cedric Moonen23-Apr-09 21:05 
QuestionRe: the endless loop Pin
CPallini23-Apr-09 21:09
mveCPallini23-Apr-09 21:09 
QuestionHow to create WM_TIMER that interval time less than 1 millisec Pin
Max++23-Apr-09 20:11
Max++23-Apr-09 20:11 
AnswerRe: How to create WM_TIMER that interval time less than 1 millisec Pin
Cedric Moonen23-Apr-09 20:14
Cedric Moonen23-Apr-09 20:14 
AnswerRe: How to create WM_TIMER that interval time less than 1 millisec Pin
Hamid_RT23-Apr-09 23:40
Hamid_RT23-Apr-09 23:40 
QuestionPopup window from main window Pin
Anu_Bala23-Apr-09 19:59
Anu_Bala23-Apr-09 19:59 
My application is MDI.but we modified the precreatewindow and using as single window applicaiton.
And we transfer to different window using menu or pageup,page down.
For ex,i have 5 pages of graphics window showing some animation and index of all five pages as index window.By clciking the topics in index,the new window will appear and we destroy the prevoius window.I draw the window details in OnDraw().
But now i want some graphics window appear as popup with close button.So i set flag for tht particular window and i set setwindowpos()...But its now flcikering...
I dnt know wat to do...

Code:

Same window:
---------------
///Clciking function in Index page
{
.
.
.
.
if( gpGView->glg_animation[giSchPNo].m_hWnd )
{
gpGView->glg_animation[giSchPNo].DestroyWindow();
giSchPNo = iPanNo - FirstGraph();// - 1;
giSchPNo = giGraphicCnt;
return;
}
Then it goes to Ondraw() and draw the window.

As Popup:
----------
///Clciking function in Index page

if(help==1) ////shown as popup
{
if( gpGView->glg_animation[giSchPNo].m_hWnd )
{

////gpGView->glg_animation[giSchPNo].DestroyWindow();
giSchPNo = iPanNo - FirstGraph();// - 1;
giSchPNo = giGraphicCnt;

return;
}
}

in Ondraw() i add this line

((CGraphView *)(((CMainFrame *)AfxGetMainWnd())->pDisplayedViews[6]))->glg_animation[giSchPNo].SetWindowPos(HWND_TOP,(GetSystemMetrics(SM_CXSCREEN)/2) - (480/2),(GetSystemMetrics(SM_CYSCREEN)/2) - (350/2),505,280,SWP_SHOWWINDOW);

Anu

Questionhow to print the data using VC++ Pin
diptipanchal23-Apr-09 19:39
diptipanchal23-Apr-09 19:39 
AnswerRe: how to print the data using VC++ Pin
CPallini23-Apr-09 21:16
mveCPallini23-Apr-09 21:16 
GeneralRe: how to print the data using VC++ Pin
diptipanchal23-Apr-09 22:10
diptipanchal23-Apr-09 22:10 
GeneralRe: how to print the data using VC++ Pin
CPallini23-Apr-09 22:15
mveCPallini23-Apr-09 22:15 
GeneralRe: how to print the data using VC++ Pin
diptipanchal27-Apr-09 0:18
diptipanchal27-Apr-09 0:18 
AnswerRe: how to print the data using VC++ Pin
Hamid_RT24-Apr-09 0:01
Hamid_RT24-Apr-09 0:01 
GeneralRe: how to print the data using VC++ Pin
diptipanchal27-Apr-09 0:50
diptipanchal27-Apr-09 0:50 
QuestionConvert Project from Multibyte TO Unicode Pin
Varun Bhatt23-Apr-09 19:16
Varun Bhatt23-Apr-09 19:16 

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.