Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CWnd::DestroyWindow assertion Pin
Rage27-Nov-02 1:37
professionalRage27-Nov-02 1:37 
GeneralRe: CWnd::DestroyWindow assertion Pin
Brian van der Beek27-Nov-02 1:43
Brian van der Beek27-Nov-02 1:43 
GeneralRe: CWnd::DestroyWindow assertion Pin
Rage27-Nov-02 1:57
professionalRage27-Nov-02 1:57 
GeneralRe: CWnd::DestroyWindow assertion Pin
Brian van der Beek27-Nov-02 2:04
Brian van der Beek27-Nov-02 2:04 
GeneralRe: CWnd::DestroyWindow assertion Pin
dabs27-Nov-02 2:44
dabs27-Nov-02 2:44 
GeneralRe: CWnd::DestroyWindow assertion Pin
Brian van der Beek27-Nov-02 2:58
Brian van der Beek27-Nov-02 2:58 
GeneralList Control in place editing Pin
devvvy27-Nov-02 0:36
devvvy27-Nov-02 0:36 
GeneralRe: List Control in place editing Pin
dabs27-Nov-02 3:04
dabs27-Nov-02 3:04 
If you want to be able to jump between cells using arrow keys you have to intercept them in the editbox itself because the editbox receives the keydown event. I did similar things once (using the TAB key to move between cells) and the code looked something like this:

<br />
<br />
void CInPlaceEdit::OnChar( UINT nChar, UINT nRepCnt, UINT nFlags )<br />
{<br />
  if ( nChar == VK_TAB )<br />
  {<br />
    if ( GetKeyState( VK_SHIFT ) < 0 )<br />
    {<br />
      m_pListCtrlParent->OnPreviousCell( );<br />
    }<br />
    else<br />
    {<br />
      m_pListCtrlParent->OnNextCell( );<br />
    }<br />
  }<br />
}<br />
<br />

where m_pListCtrlParent is a pointer to the parent Listctrl. It contains the method called in the code and these methods basically do this:

- grab the focus (because the edit box knows that it should disappear when it loses focus)
- calculate the next cell to be edited
- initiate the edit for that cell




Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
Generallogonuser with CreateProcessAsUser Pin
r i s h a b h s26-Nov-02 23:55
r i s h a b h s26-Nov-02 23:55 
GeneralRe: logonuser with CreateProcessAsUser Pin
techno_guru27-Nov-02 5:41
techno_guru27-Nov-02 5:41 
GeneralEncryption Pin
AJ12326-Nov-02 23:44
AJ12326-Nov-02 23:44 
GeneralRe: Encryption Pin
Rage27-Nov-02 1:41
professionalRage27-Nov-02 1:41 
GeneralRe: Encryption Pin
Scott H. Settlemier27-Nov-02 3:46
Scott H. Settlemier27-Nov-02 3:46 
GeneralVoice over Internet - HOW Pin
Kunal Khairnar26-Nov-02 23:42
Kunal Khairnar26-Nov-02 23:42 
GeneralRe: Voice over Internet - HOW Pin
Scott H. Settlemier27-Nov-02 4:58
Scott H. Settlemier27-Nov-02 4:58 
GeneralDialog in CWinThread Pin
rrrado26-Nov-02 23:25
rrrado26-Nov-02 23:25 
GeneralRe: Dialog in CWinThread Pin
Rage27-Nov-02 1:32
professionalRage27-Nov-02 1:32 
GeneralRe: Dialog in CWinThread Pin
rrrado27-Nov-02 4:04
rrrado27-Nov-02 4:04 
GeneralRe: Dialog in CWinThread Pin
Alvaro Mendez27-Nov-02 11:31
Alvaro Mendez27-Nov-02 11:31 
GeneralCListCtrl item editing and OnNotify Pin
devvvy26-Nov-02 22:49
devvvy26-Nov-02 22:49 
GeneralRe: CListCtrl item editing and OnNotify Pin
Rage26-Nov-02 22:52
professionalRage26-Nov-02 22:52 
GeneralRe: CListCtrl item editing and OnNotify Pin
devvvy26-Nov-02 22:56
devvvy26-Nov-02 22:56 
GeneralRe: CListCtrl item editing and OnNotify Pin
Rage27-Nov-02 2:15
professionalRage27-Nov-02 2:15 
GeneralRe: Accessing xml node names using dom... Pin
Alwin7526-Nov-02 22:37
Alwin7526-Nov-02 22:37 
GeneralRe: Accessing xml node names using dom... Pin
Stephane Rodriguez.26-Nov-02 22:46
Stephane Rodriguez.26-Nov-02 22:46 

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.