Click here to Skip to main content
15,890,609 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: (Never mind) iPod SDK? Pin
ThatsAlok4-Feb-05 22:11
ThatsAlok4-Feb-05 22:11 
GeneralJava gui to c++ back end Pin
monageasmear4-Feb-05 8:24
monageasmear4-Feb-05 8:24 
GeneralRe: Java gui to c++ back end Pin
Peter Weyzen4-Feb-05 8:37
Peter Weyzen4-Feb-05 8:37 
GeneralRe: Java gui to c++ back end Pin
Ravi Bhavnani4-Feb-05 8:38
professionalRavi Bhavnani4-Feb-05 8:38 
GeneralCDialog in C++.Net Pin
pnpfriend4-Feb-05 7:48
pnpfriend4-Feb-05 7:48 
GeneralRe: CDialog in C++.Net Pin
Signal-94-Feb-05 17:20
Signal-94-Feb-05 17:20 
GeneralRe: CDialog in C++.Net Pin
venura c.p.w. goonatillake4-Feb-05 19:01
venura c.p.w. goonatillake4-Feb-05 19:01 
Generalresizing control to whole size of formview Pin
BlackDice4-Feb-05 7:30
BlackDice4-Feb-05 7:30 
I'm trying to implement it where when I double-click a grid, the grid resizes to fill the entire formview, then double-clicking it again puts it back to its normal size. But I'm having trouble with the GetWindowRect(), MoveWindow(),ClientToScreen() thing. Here's what I have in the OnNotify() of my CFormView class (after making sure it's for the appropriate control):

if (NM_DBLCLK == pDispInfo->hdr.code)
			{
				CRect formrect;
				this->GetWindowRect(&formrect);
				ClientToScreen(&formrect);
				m_lvw.ScreenToClient(&formrect);
				m_lvw.MoveWindow(&formrect);
				m_lvw.SetWindowPos(&wndTopMost ,0,0,0,0,SWP_NOSIZE |SWP_NOMOVE);
				return TRUE;
			}


the grid is moving to the wrong place. Also, it's not covering the other controls as I thought it would do. The other edit boxes and comboboxes on the form are still visible through the grid. Any help is appreciated. Thanks!!!

My articles

www.stillwaterexpress.com

BlackDice
GeneralWorks except for Redraw Pin
BlackDice4-Feb-05 9:13
BlackDice4-Feb-05 9:13 
GeneralCListCtrl not created in CFormView Pin
Maverick4-Feb-05 7:13
Maverick4-Feb-05 7:13 
GeneralEugen Podsypalnikov's CGridCellDateTime class Pin
prosolupov4-Feb-05 6:41
prosolupov4-Feb-05 6:41 
GeneralChangable HotKeys Pin
prosolupov4-Feb-05 6:17
prosolupov4-Feb-05 6:17 
GeneralWin 32 tutorial Pin
monageasmear4-Feb-05 5:56
monageasmear4-Feb-05 5:56 
GeneralRe: Win 32 tutorial Pin
David Crow4-Feb-05 6:53
David Crow4-Feb-05 6:53 
GeneralXP-like style grid Pin
prosolupov4-Feb-05 5:48
prosolupov4-Feb-05 5:48 
GeneralRe: XP-like style grid Pin
RChin4-Feb-05 6:04
RChin4-Feb-05 6:04 
GeneralRe: XP-like style grid Pin
prosolupov4-Feb-05 6:28
prosolupov4-Feb-05 6:28 
GeneralRe: XP-like style grid Pin
RChin4-Feb-05 6:36
RChin4-Feb-05 6:36 
GeneralRe: XP-like style grid Pin
prosolupov6-Feb-05 22:18
prosolupov6-Feb-05 22:18 
GeneralCTreeCtrl from file Pin
bilas4-Feb-05 5:33
bilas4-Feb-05 5:33 
GeneralRe: CTreeCtrl from file Pin
pnpfriend4-Feb-05 9:14
pnpfriend4-Feb-05 9:14 
GeneralIncrement search Pin
prosolupov4-Feb-05 5:33
prosolupov4-Feb-05 5:33 
GeneralRe: Increment search Pin
prosolupov4-Feb-05 5:39
prosolupov4-Feb-05 5:39 
GeneralDestroy CView (MFC) Pin
TooLeeDiN4-Feb-05 5:08
TooLeeDiN4-Feb-05 5:08 
Generalbios serial number Pin
ozgul4-Feb-05 4:16
ozgul4-Feb-05 4: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.