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

Search:

Type: Posts; User: zapper222

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    707

    Re: Word break in a richedit box

    In the LineLength link you provided, it says:

    When LineLength is called for a multiple-line edit control, the return value is the length (in bytes) of the line specified by nLine.

    My RichEdit...
  2. Replies
    16
    Views
    707

    Re: Word break in a richedit box

    nLineLength from this line equals 44.


    nLineLength = m_RichEditVar.LineLength(1);


    The return value from this line returns 40:


    m_RichEditVar.GetLine(1,...
  3. Replies
    16
    Views
    707

    Re: Word break in a richedit box

    Thanks for your help on this guys!

    I ran it thru the debugger and the line length came in at 44 and the CString Line2 was showing the text AND the weird characters. I noticed though that the...
  4. Replies
    16
    Views
    707

    Re: Word break in a richedit box

    Yes I am terminating the string and popping the buffer, I just didn't show it, my bad.
    For what its worth, its a unicode project if maybe that has something to do with it.
    Here is the code I am...
  5. Replies
    16
    Views
    707

    Re: Word break in a richedit box

    That link is not working for me.

    I have no difficulty in copying the line, its just that the extra "control" characters show up when I write the line to the second richedit box.
    I copied one of...
  6. Replies
    16
    Views
    707

    Word break in a richedit box

    Visual Studio 2013 Community Edition on windows 7 Ultimate.
    Dialog app with two rich edit boxes. The boxes are set to auto vertical scroll true, horizontal auto scroll false.
    I am attempting to...
  7. Left button click on Edit Control in a dialog box

    I have a dialog box with several edit control boxes and I want to identify the edit control when I click the left mouse button on it.
    Any button action (up or down) doesn;t register when the mouse...
  8. Replies
    7
    Views
    829

    Re: Can't make this program run.

    I hope you are using a good AV because there are some trojans out there that use that technique on launch.
    The designers think it would be too suspicious if nothing happened on attempted start so...
  9. Re: Property Sheets on the main dialog

    Yep that's the ticket, thanks Arjay.
  10. [RESOLVED] Property Sheets on the main dialog

    I have been playing around with property sheets/property pages and have been successful in getting them to work in a secondary dialog by calling the property sheet using DoModal().
    I cannot figure...
  11. Re: CButton SetCheck problem with Unchecking

    Probably should be using GetCheck() not GetState()
  12. Replies
    6
    Views
    1,099

    Re: Asynchronous reading

    Set up a timer (SetTimer)...it will read the port every so many milliseconds and you can update using that data.
  13. Replies
    1
    Views
    305

    Color text to a file

    Trying to write color text to an rtf file.
    Anyone know of any code samples around that show how to do this.
  14. Replies
    9
    Views
    1,140

    Re: MFC Splitter roadblock

    It almost sounds like you would be better off using TABS rather than radio buttons to select your views.
  15. Re: Function which finds the given word in the line

    I'm confused!
  16. Replies
    5
    Views
    984

    Re: Save/load file windows

    If you are using MFC read up on CFileDialog.
    If not MFC check out GetSaveFileName and GetOpenFileName.
  17. Replies
    17
    Views
    1,318

    Re: Quite new to C++

    I picture Harry shaking his head wondering *** happened to his thread.
    As far as the rest goes.....I have to give the edge to Egawtry.
  18. Replies
    3
    Views
    1,714

    Re: COleDateTime Problems

    Try CTime
  19. Re: Scroll Multiline Edit Box overwrites text within???

    I had this same issue only with a RichEdit control.

    You could try making a control variable to the edit box and use ::ReplaceSel with the second parameter as 0.
    ...
  20. Replies
    2
    Views
    455

    Property Sheets

    I have been doing a lot of reading on property sheets and property pages and have successfully generated modal and modeless dialogs using the information I found.
    I am trying to make an SDI...
  21. Replies
    7
    Views
    886

    Re: PostMessage to a list control

    Ok so here is a shot at writing the LVITEM to the target process memory with a lot of help from a blog by Chris Taylor.


    CString Title;
    const DWORD dwBufSize = 1024;
    DWORD dwTargetProcessID;...
  22. Replies
    7
    Views
    886

    Re: PostMessage to a list control

    Sounds like I am SOL!
    Do you have any idea how to set the item state using what you suggest ?
  23. Replies
    7
    Views
    886

    Re: PostMessage to a list control

    So, barring the local variable, you are saying I have to write the LVITEM to the target process memory, then use SendMessage then read the results from the target process? Is this the only way it can...
  24. Replies
    7
    Views
    886

    PostMessage to a list control

    I am trying to select an entry on a list control in another app. to make it look like I just left clicked on that particular list entry.

    I am trying this code but it doesn't work, no errors but...
  25. Replies
    10
    Views
    4,656

    Re: generating a sequence 1, 12, 123, 1234, ...

    Treat it as a string and it is fairly easy to do.

    If you have to do it mathematically take note of the addition required to get to each iteration.
    From 1 to 12 you add 11
    From 12 to 123 you add...
Results 1 to 25 of 161
Page 1 of 7 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center