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

Search:

Type: Posts; User: truongptr

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    8
    Views
    29,124

    Re: Change MenuBar & ToolBar background color

    You also should create a custom toolbar class (such as you have done for the menu).

    Regrading the background of menu, you try this code and add them into the OnCreate of CMainFrame:


    ...
  2. Re: Create() function of modeless dialog is failed

    Yes, this is my code:



    void CHistogramCtrl::RegisterWindowClass()
    {
    WNDCLASS windowclass;
    HINSTANCE hInst = AfxGetInstanceHandle();

    //Check whether the class is registerd already
  3. Re: Create() function of modeless dialog is failed

    I registered it in a class in a separated dll
  4. Re: Create() function of modeless dialog is failed

    I have set 'No Fair Create' option to be true for my dialog and debugged through the DDX_Control when initializing dialog and I found that the system failed when finding resource of the custom...
  5. Re: Create() function of modeless dialog is failed

    Sorry for delay responding. The GetLastError() return 0.

    This control is not an ActiveX control. It is a custom control of MFC. Regarding register, I mean than I have registered a class window and...
  6. Create() function of modeless dialog is failed

    My application loaded resource from DLL. And it is failed when creating a modeless dialog (it worked fine if I didn't load resource from DLL). I was using a custom control in the modeless dialog. But...
  7. Create a polygon from many separate segments

    Hi,

    How to create a polygon from many separate segments?

    For example: I have these segments: AB, CD, DE, BC, EF.
    How to create a polygon ABCDEFA from them?

    Thanks
  8. Re: Create Contour from many separate segments

    Thanks TheCPUWizard for your reply.

    My question means:

    I have these segments: AB, CD, DE, BC, EF.

    How to create a polygon (ABCDEFA) from those segments?
  9. Create Contour from many separate segments

    Hi all,

    How to create contour from many seprate segments?

    Thanks
  10. Replies
    1
    Views
    823

    Enough memory for a allocating

    Hi,

    Please help me!

    How to check to see if there is enough memory to allocate memory for a pointer?
  11. Replies
    1
    Views
    1,365

    Render 3D surface from the contours

    Do anyone know how to render 3D surface from list of contours? if someone know about that please help me. Give me some code or algorithm
    Thanks
  12. Replies
    4
    Views
    1,684

    Re: TWO Child Views in ONE MFC Window Frame

    You have to use CSplitterWnd object in the CMainFrame class. To understand about CSplitterWnd, you should use MSDN.
    Good luck!
  13. Replies
    2
    Views
    799

    Re: Surface Rendering

    It mean that, I want to render a volume in 3D from some contours on the some slices.
  14. Replies
    2
    Views
    799

    Surface Rendering

    I need an algorithm or some examples about Surface Rendering. If someone know about that please let me know.
    Thank you very much.
  15. Replies
    2
    Views
    759

    Re: Get data from a grid

    Thank you for your help but AccExplorer cannot asscess to any row of grid too.
  16. Replies
    2
    Views
    759

    Get data from a grid

    I am creatinng a application that can get data from a control of another application. But I am having a problem with some third part tools(For example : Grid, ..). I cannot get data from any row of...
  17. Replies
    0
    Views
    509

    Get data from a grid

    I am building a application that access to a control of another application, but I have a problem with some third part tools (Grid tool), I cannot get data from a row of a grid. Can somebody help me?...
  18. Replies
    4
    Views
    792

    Re: Access to another control

    If you know this, please give me a example.
    Thanks
  19. Replies
    4
    Views
    792

    Access to another control

    Hi all,

    I want to create a application which can access to a control of another application.
    For example: My application can access to get data or set data for a Grid in the another application....
  20. Replies
    2
    Views
    5,273

    Load 3ds Max file into C++ project

    Hi,
    I don't know how to load a 3ds Max file into a project that is coded in C++.
    May anyone help me, give me some codes
    Thanks a lot
  21. Re: Overlay Object in DirectShow Transform Filter

    You have to create a VMRAlphaBitmap and set it to the VMRMixerBitmap. All your bounds boxs is drawn on the DC of VMRAlphaBitmap.
  22. Thread: Simulator

    by truongptr
    Replies
    2
    Views
    1,316

    Re: Simulator

    Thanks Georg very much, Have you got a small example that coding in C++ about it may you show me?
  23. Thread: Simulator

    by truongptr
    Replies
    2
    Views
    1,316

    Simulator

    Hi all,
    I Want to make a project that simulate all actions of any software (Automatic training), but I don't know what technology I can use for it. If anybody have experience about that field or...
  24. Replies
    0
    Views
    1,123

    Video Capture preview

    Please help me!
    I want to know how to get a bitmap and show it when Video capture stopped
    Thanks
  25. Re: Write file and read file on the remote computer

    Thank you Svenhag for your idea, but I have difficulty with reading and writing file on the Server. I do not know what class I can use.
Results 1 to 25 of 26
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured