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

Search:

Type: Posts; User: bansl

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    383

    MCI CD Audio Load and Eject

    Hi,

    I have an MCI application that reads/catalogs audio CD's using the CDDB Interface.

    There are two things I would like to get it to do that it currently does not;
    1) Recognise that a CD has...
  2. Re: Rich Edit text always selected when page becomes active

    FYI...

    The answer lies in the Paint handler, for some reason when it is entered the RichEditCtrl is always set to select all of the text.

    By resetting the selection in OnPaint, it will always...
  3. Re: Rich Edit text always selected when page becomes active

    Nope, that didn't get it.

    I already had a handler for SetFocus, but changed the SetSel to (-1, 0) as you suggested.

    I also added another Page ahead of the ones with RichEdit, but all of the...
  4. Rich Edit text always selected when page becomes active

    I have a Property Sheet that contains four instances of a Property Page - which has a RichEdit Control, PushButton (Save) and a checkbox.

    Problem is, whenever any Property Page is displayed, all...
  5. Replies
    0
    Views
    284

    RPC Client/Server in one Module?

    I have an RPC Client/Server which I would like to write as a single module. This way I could start the same module on multiple workstations with different parameters to RPC to any other workstation...
  6. Dialog Based RichEditControl and Ctrl Functions

    Hi Alex,

    I have another problem which you may be able to help me with....

    As I said, this RichEdit Control is in a dialog, (in an RC file).

    So how can I get its control so that I can do...
  7. Re: Dialog Based MFC Dialog Based App and RichEdit ctl will not run???

    Thanks Alex, tht works just fine.

    Bryan.
  8. Dialog Based MFC Dialog Based App and RichEdit ctl will not run???

    Hi,

    I just created what was supposed to be a simple MFC Dialog based app, i.e. checked "Dialog based" in the wizard and left ActiveX checked.

    I setup my controls in the dialog and it worked OK....
  9. Replies
    2
    Views
    1,250

    Re: New Line in CRichEditCtrl ??

    Duh! That fixed it, I didn't need it when it was a View so when I made it a Ctrl, additional flags got overlooked.

    Many Thanks,

    Bryan.
  10. Replies
    2
    Views
    1,250

    New Line in CRichEditCtrl ??

    I have a class which was CRichEditView, now transferred to CRichEditCtrl.
    After the transfer, the newlines, "\r\n" are not being honored. Everthing appears on one line..!!
    The code snippet I am...
  11. Replies
    0
    Views
    229

    CRichEdit and Dropped Files

    Hi,

    I have an MFC application based on CView which I drop one/multiple files onto and it worked just fine.

    Now I changed it to be based on CRichEditView, and now it seems to accept only one...
  12. Replies
    0
    Views
    5,304

    C++/Word Questions

    I have a simple C++ wrapper class which inserts and formats text into Word.
    Now I have tried to change it to set the Page Properties, margins etc.
    I get the PageSetup pointer by:

    PageSetupPtr...
  13. Replies
    2
    Views
    441

    Re: Finding an item in a Tree Control

    That worked really well, I refined the code a little as the item I am looking for will always occur in the first level below the root;

    hLev1 = NULL; ...
  14. Replies
    0
    Views
    405

    MFC MCI CD Drawer

    I know there is some code in CodeGuru which shows how to detect that the CD Drawer was opened, or more importantly, Closed.
    However, this does not seem to work in my MFC program.
    Has anyone managed...
  15. Replies
    2
    Views
    441

    Finding an item in a Tree Control

    When I am adding second level entries, (the root levels are titles), to my tree view, I get duplicate entries in the Tree.
    So I would like to be able to search through the existing tree items to...
  16. Replies
    1
    Views
    401

    Multiple Inheritance and operator new

    I need to define my own operator new in order to perform memory management in a large project.
    Everything is fine, until I try to compile a class which multpily inherits from several bases which...
  17. Visual Studio Addin - Finding a Project for a Document

    In my Addin, I have a Document Object, Generic or Text.

    How can I find which Project Object the Document is contained in - because looking at the hierarchy of parents, and properties/events it...
  18. Replies
    0
    Views
    351

    Can Visual Studio addins change the cursor?

    I have written an addin for Visual Studio and thought that it would be nice to have the WAIT CURSOR (hourglass) displayed while it executed.
    However, as addins run outside of the IDE Windows, I...
  19. Thread: CreateProcess()

    by bansl
    Replies
    5
    Views
    2,738

    Re: CreateProcess()

    Thanks for the information, however, that just tells me how to get the output back - which I already do.

    Unfortunately, there is not a reliable way to determine from the output whether the command...
  20. Thread: CreateProcess()

    by bansl
    Replies
    5
    Views
    2,738

    CreateProcess()

    Can I get the return code from a DOS Command executed from a CreateProcess() function?
  21. Re: Can I getTree-view and RichEdit in splitter windows?

    Yes - you got it - that's the way I did it.
    As far as the splitter goes, I just added a CSplitterWnd m_wndSplitter; in mainFrm.h
    then did all of the paneSize() and CreateStatic()stuff in the...
  22. Can I getTree-view and RichEdit in splitter windows?

    I am trying to get a TreeView and a RichEdit into a static splitter window, using doc/view in MFC.
    The tree view works fine, but when I try to get the Document, where the class pointer is stored,...
Results 1 to 22 of 22


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center