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

Search:

Type: Posts; User: He_That_Is

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    848

    Re: Is 2D cliext::vector myth ??

    There is always a work-around. You can try this as well . . .



    #include <vector>

    using namespace std;

    typedef vector<int> vec; // or whatever the type you like
    typedef vector<vec>...
  2. Replies
    5
    Views
    3,970

    Re: Help with DrawFrameControl

    Hey Thanks for the links to the blog and the Search Criteria. The thing is this, I don't want to start adding a lot of extra code and such to accomplish this task. Especially when it comes to third...
  3. Replies
    5
    Views
    3,970

    Re: Help with DrawFrameControl

    I know about creating buttons dynamically, and that works fine for a frame that isn't likely to change with almost every click. So I can't get the results I want and maintain stability over...
  4. Replies
    5
    Views
    3,970

    Re: Help with DrawFrameControl

    What I am looking for is a way to dynamically add and remove radio buttons and check boxes directly to a windows View (not a VB form or a C++ dialog) and/or an MFC CControlBar. The DrawFrameControl...
  5. Replies
    5
    Views
    3,970

    Help with DrawFrameControl

    Is there a replacement for the API function 'DrawFrameControl'? This command seems to link to the old API calls and loads NT4 (older) style controls. Normally this wouldn't matter, but these...
  6. Replies
    8
    Views
    4,027

    Re: tool tip not shown

    I understand, I search these posts for insights and solutions from the past. And I figured is someone else does this they might appreciate having a couple of solutions in the same place to choose...
  7. Replies
    8
    Views
    4,027

    Re: tool tip not shown

    Try this . . . You should know where to put each piece of this . . .




    //in the .h file for the dialog (or whatever)

    BOOL OnToolTipNotify(UINT id, NMHDR *pTTTStruct, LRESULT *pResult);
  8. Replies
    5
    Views
    2,892

    Re: Change color of combo box

    You can manually add your own CTLCOLOR functionality, CWnd supports it.



    //in the .h file
    afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);

    //in the .cpp file
    ...
  9. Re: The strange performance of Visual C++ application

    If it says Microsoft on the box, there is sure to be trouble inside . . .
  10. Re: link to RPC in a DLL from a non-RPC App

    "BTW, all this can be done inside the app itself, which even would make the things much simpler. "

    How can I do this in the app? I would need to convert the app to RPC/COM enabled wouldn't I? Is...
  11. link to RPC in a DLL from a non-RPC App

    I have a program that I have written, and it is complex enough I don't want to convert it from a standard MFC app to an RPC enabled MFC app by creating the framework and porting all of my code over...
  12. Replies
    13
    Views
    29,461

    Re: Reading a text file into a vector

    This isn't exactly what you are doing, but it has all the same parts . . .



    //in the .h file
    #include <vector>

    using namespace std;

    typedef vector<CString> vec;
  13. Replies
    2
    Views
    3,326

    Re: RPC and Existing Code

    Thanks for the response . . . I really do appreciate it. I will be looking into DCOM, however, I don't know if Web Services are the ticket, I will probably have to look into that as well just to be...
  14. Replies
    2
    Views
    3,326

    RPC and Existing Code

    Hello All, I am not familiar enough with RPC, and what I find through MS and general WEB searches about RPC seem more superficial. Is it possible to incorporate RPC into an existing application that...
  15. Replies
    7
    Views
    5,638

    Re: GDI Object Failing

    I took a closer to the resource info, and found a very interesting dilema. resource has the exact same resource ID's with the correct values, however, when I open the Resource ID editor (right-click...
  16. Replies
    7
    Views
    5,638

    Re: GDI Object Failing

    The return from the LoadBitmap() is FALSE (0), should be returning TRUE (1). The resource,h contains all of the resource ID's they are all correct and accurate, and the same as I am using in...
  17. Replies
    7
    Views
    5,638

    [RESOLVED] GDI Object Failing

    I'm writing a program that will display bitmaps in its view. It is a view without a document. When the CBitmap does the LoadBitmap(nID) function, the CGDIObject does not initialize the CBitmap...
  18. Replies
    12
    Views
    1,184

    Re: SDI Question

    Yes, sadly enough, I must agree . . . Rebuild the project as a proper app. Thanks for all of the input.

    --Victor
  19. Re: 24bit Bitmaps in an MFC Tree-view Control

    No, I did not. I have been creating the image list with the image all at once. Very remiss of me. Thank you this works just fine.

    Many Thanks,

    --Victor
  20. Replies
    12
    Views
    1,184

    Re: SDI Question

    No, it's being called in the OnDraw() function, it was put there by DevStudio. And to Victors post, No, it didn't start out a Doc/View it was a CControlBar/split type thing, with a View and no...
  21. Re: 24bit Bitmaps in an MFC Tree-view Control

    Yes, this is true, but the issue with that approach, is that the Create method that accepts the style constant for color depth doesn't allow for setting a transparent mask. And the Create method...
  22. Replies
    12
    Views
    1,184

    [RESOLVED] SDI Question

    I am working on an SDI Doc/View MFC application. The app seems to work fine (visually in release mode), but the document pointer returned from MyView::GetDocument() is always NULL, and I looked into...
  23. [RESOLVED] 24bit Bitmaps in an MFC Tree-view Control

    Hello all, Thank you in advance. I am writing an application wherein there is a dialog box in which I have placed a Tree-view Control (drag and drop visual control into the dialog box in DevStudio)....
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured