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

Search:

Type: Posts; User: hvpp

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    657

    I just understand the problem now

    Well, I can understand why the controls can't be enabled in my program.

    It's simply because I disable them in the OnInitialUpdate function of my view class. But I didn't know that this function is...
  2. Replies
    7
    Views
    657

    Another bug

    Another bug in my program.

    In the OnInitialUpdate function of my view class, I add columns in a list control. When the user (me) opens a file, this function is called once again and it adds once...
  3. Replies
    7
    Views
    657

    Sorry, I can't do it

    Hi,


    Thanks for your help. I can't find any documentation above the OnSyncToDoc function.

    And I cannot compile it correctly because the UpdateToDoc function doesn't exist.

    Can you give me...
  4. Replies
    7
    Views
    657

    How to enable buttons in my view ?

    Hi everybody,

    Here a strange problem for me.

    In the OnInitialUpdate of my CView class, I disable buttons and control lists because no data is loaded.

    When the user opens a file, in my...
  5. Thread: Memory leaks ?

    by hvpp
    Replies
    5
    Views
    596

    Thanks a lot

    Thanks a lot for your response.
  6. Thread: Memory leaks ?

    by hvpp
    Replies
    5
    Views
    596

    Memory leaks ?

    Hi everybody,

    A simple question. Someone told me that the following code creates inaccessible areas in memory. Tell me more please.

    void MyFunc()
    {
    char* pMyString = "My string";

    ...
  7. Replies
    1
    Views
    479

    Determine memory leaks

    Hi everybody,


    I would like to know how I can determine if a program I've developed create memory leaks after its end.

    Is there any tool under Windows 2000 or Visual C++ to scan the memory ?...
  8. Replies
    2
    Views
    633

    Preventing end of a SDI application

    Hi there,

    The application I'm working on is SDI application style.

    The InitInstance function, creates an object from my own class which will manage independant threads. After the creation of...
  9. Replies
    3
    Views
    5,379

    A question about memory leak

    Thanks for your reply.

    I have another question then. If the application allocates memory during execution, can I suppose that Windows will free automatically the objects allocated when the...
  10. Replies
    3
    Views
    5,379

    Calling destructor with kill command

    Hi everybody,

    I have to work on a big application. This application consists in several processes.

    The processes are launched with a batch file (START command).
    When the administrator wants to...
  11. Replies
    3
    Views
    1,020

    Re: EnumWindows enumerates too much windows !

    OK, thanks for your help.

    Here is the solution I've kept to resolve my problem :

    CWnd* pParentWindow = GetParent();
    CWnd* pNextWindow = pParentWindow->GetWindow(GW_HWNDNEXT);...
  12. Replies
    3
    Views
    1,020

    EnumWindows enumerates too much windows !

    Hi everybody,

    A new problem for me : I would like to enumerate the current running windows in my computer. I use the EnumWindows function to do it. EnumWindows does enumerate too much windows for...
  13. How to detect my window overlapped by another window

    Hi everybody ! I'll try to explain you my problem in the best way I can (I'm not english, of course !)

    In a CFormView, I've inserted a CWnd object (called CArea in my project). In it, I draw...
  14. Replies
    1
    Views
    554

    Persistant screen capture

    Hi !


    Here is my problem : I've developed a chat-like application with VC 6.0
    In it, I've added a common drawing area.

    Each time a user draws something in the draw area, a draw order is sent...
  15. Replies
    0
    Views
    388

    Status message for all controls

    Hi everybody,

    Can someone tell me how to display a message on the status bar when the mouse is over any control in a dialog based application ?

    It's possible to display a message with buttons...
  16. Replies
    7
    Views
    6,558

    TTS_ALWAYSTIP doesn't work !

    Hi everybody !

    I have a new problem to ask you : in my dialog based application, I would like to implement the tooltip functionality. I have done it with samplecode given in a developer forum....
  17. How to change all background colors for controls in a dialog box

    Hi everybody,

    Here's my problem : in a dialog based application, how can I change the text and background color of all the controls in the dialog box ?

    I don't want to change the colors for...
  18. Replies
    9
    Views
    708

    Re: Error with Visual C++

    OK !

    I've found what was wrong in my project ! I had changed for a reason that I cannot remember, the system date in my computer.
    Some hours after, I decided to create additional icons to my...
  19. Replies
    9
    Views
    708

    Re: Error with Visual C++

    Hi everybody,

    After cleaning and rebuilding the project, the problem still exists. It only affects the app.res and app.exe files.

    Here is what I have seen : with other projects, if you don't...
  20. Replies
    9
    Views
    708

    Re: Error with Visual C++

    Sorry, even after rebuilding the application, the error message still appears. Cleaning the files has the same effect.

    What is wrong in my project parameters then ?

    Thanks...
  21. Replies
    9
    Views
    708

    Error with Visual C++

    Hi everybody,

    After changing something (but what ???) in my workspace configuration, I have the following dialog box before executing my application :

    One or more files are out of date or don't...
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured