Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: printz0r

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    826

    Re: MFC get input keys in while loop

    RichEditCtrl displays values that the microcontroller outputs. The loop is important because there are various modes the microcontroller is in. Sometimes it should get values, othertimes it shouldn't
  2. Replies
    6
    Views
    826

    Re: MFC get input keys in while loop

    I'm going to read key strokes and send the key strokes to a microcontroller and have the microcontroller process them and send back commands that may end the infinite loop.
  3. Replies
    6
    Views
    826

    MFC get input keys in while loop

    I don't know how to bypass how MFC handles messages but I need to read input character keys while being in a while loop. An example is posted below;



    runmode=1;
    //get input keys from...
  4. Replies
    1
    Views
    220

    Re: Hide highlighting from SetSel

    I solved the issue:


    In the on create
    SetEventMask(GetEventMask()|ENM_UPDATE);

    then activate the message handler

    void CCtrl::OnEnUpdate()
    {
  5. Replies
    1
    Views
    220

    Hide highlighting from SetSel

    Hi,

    I'm using SetSel in my RichEditCtrl window to replace certain lines of text. The problem is its not aesthetically pleasing when the window highlights the word for a split second and then...
  6. Replies
    5
    Views
    3,247

    Re: MFC UpdateWindow()???

    Using SetEventMask(GetEventMask()|ENM_UPDATE); fixed the problem, so directly after UpdateWindow() is called, the text gets displayed. But how would I do a timer tick method?? That seems more...
  7. Replies
    5
    Views
    3,247

    MFC UpdateWindow()???

    Inside my CRichEditCtrl class,

    I have a loop that changes the text using
    SetWindowText(a);
    UpdateWindow();

    But the window is not being updated to the text. I know this because when I'm in...
  8. Re: Easy but mind boggling question KEYBDINPUT

    I still get the same result, which results in the cursor moving to the left and still no highlighting. Furthermore, supposing the highlighting did work, the cursor doesn't move to the left until...
  9. Easy but mind boggling question KEYBDINPUT

    I have a code here that should send the window ctrl+shift+left arrow. This should highlight the previous word. All that happens in the cursor moves to the beginning of the word as if only ctrl+left...
  10. Replies
    10
    Views
    2,131

    Re: Why wont thsi mfc code work?

    Please enlighten me. What is a better way to view, edit modify the document and view class? Lets say I want certain highlighted in my document?
  11. Replies
    10
    Views
    2,131

    Re: Why wont thsi mfc code work?

    This makes sense. So how would I write strings to the document? Or highlight certain words in the document and display it to the active view?



    FILE *f;
    CMyDoc *pDoc=(CMyDoc...
  12. Replies
    10
    Views
    2,131

    Why wont thsi mfc code work?

    I'm trying to write a string from CMainFrm to the view window. The View window is inherits CRichEdit. I tried GetActiveView() instead of GetActiveWindow() and it still didn't work. Why won't this...
  13. Re: MFC Splitter window - failed to create empty document

    I think I figured it out from trial and error. Its putting the CMyView class into the left splitter window when I use pContext->m_pNewViewClass. I then can control CMyView class through the...
  14. Re: MFC Splitter window - failed to create empty document

    I guess my question is:

    What is this object pContext->m_pNewViewClass and what is it placing in the left splitter window?
  15. Re: MFC Splitter window - failed to create empty document

    I guess my question is:

    What is this object pContext->m_pNewViewClass and what is it placing in the left splitter window?
  16. MFC Splitter window - failed to create empty document

    I am trying to put a view class into each splitter window.

    I have a problem with using m_leftClass. I want to use m_leftClass so I can attach it to a separate ViewClass and RichEditCtrl class....
  17. Replies
    1
    Views
    455

    Implementing a dialog into a bar

    I have a program that implements bars using a class called CCoolBar that ultimately inherits CControlBar. I like it because I can dock the bar using MFC commands such as
    ...
  18. Replies
    5
    Views
    743

    Re: Newbie How do applications start?

    I'm being thrown in the deep end - There are multiple layers of the code, and I figured the flow chart shouldn't talk about how the MFC works, but more on how the functions work. The second disparity...
  19. Replies
    5
    Views
    743

    Re: Newbie How do applications start?

    Thank you.

    I looked for instance declarations under the CWinApp class and couldn't find any.

    I did find this though:

    CWinThread *g_pBasThread=NULL;


    Is my logic correct?:
  20. Replies
    5
    Views
    743

    Newbie How do applications start?

    I was given a project to make a flow chart of a windows application. I was given all the source files and the project file that opens with microsoft visual studio. There are about 30 header files and...
Results 1 to 20 of 20


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center