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

Search:

Type: Posts; User: usman999_1

Page 1 of 56 1 2 3 4

Search: Search took 0.35 seconds.

  1. Replies
    14
    Views
    1,628

    Re: Arrrgh

    Well, it could be that your boss don't want the programmers to sortof "hide" their programming errors by using SEH insteadof fixing them.

    Regards,
    Usman.
  2. Replies
    7
    Views
    2,108

    Re: debug exe in IDE vs outside IDE

    One difference between running the exe from within the IDE and without is, that IDE sets the current directory of the exe to the project folder (where you have all those cpp & h files) and running...
  3. Replies
    11
    Views
    1,337

    Re: putting critical section to work

    Or if it's your own save dialog, disable the button like most websites do.

    Hope this helps,
    Regards,
    Usman.
  4. Replies
    4
    Views
    1,676

    Re: Getting the shell icon for folder...

    super!

    Regards,
    Usman.
  5. Replies
    4
    Views
    1,676

    Re: Getting the shell icon for folder...

    Thanks for the reply VictorN & also for understanding my post :D. One additional question, the icon returned from the method you mentioned is an HICON, but for the TreeView/Ctrl, I need to populate...
  6. Replies
    4
    Views
    1,676

    Getting the shell icon for folder...

    Hi all!

    I am writing an application, when I need to use for a TreeView, icons used by explorer for directory & also the icons for different file type displayed within explorer.

    Thanks for your...
  7. Replies
    2
    Views
    905

    Re: DLL memory information retreival

    Could you please explain in more details what exactly you mean by DLL memory info retreival??? Is there any exported function that returns that data/memory??? or you want to sortof read within your...
  8. Replies
    2
    Views
    900

    ClientRect of SDI

    Hi all,

    I am working on a SDI application, there I am using a splitter to split the frame into two panes. Now, I want to adjust the pane size, for that I use GetClientRect within the Frame, the...
  9. Replies
    2
    Views
    760

    Re: Suggestions Needed...

    Well there will not be that many controls per pane or part of the view split ed by the splitter. Yeah, that's what I thought about not using MDI (I dont need to show multiple docs/views).

    Regards,...
  10. Replies
    2
    Views
    760

    Suggestions Needed...

    Hi All,

    I want to implement a GUI, where I have to split the Window in four different parts using a splitter. I am not sure, if I create four different views or just use a single window, and size...
  11. Replies
    3
    Views
    1,052

    Re: Help, C++ Newbie

    If it's a char array, you can use ZeroMemory or memset (and specify 0, to be used for memset 2nd param).

    If it's some C++ object, normally they have some sortof empting mechanism like clear/reset...
  12. Re: Copying from unsigned char * to the CString

    Well, I dont want to start this CString vs std::string debate all over again. CString is better for MFC functions requiring CString. But CString is designed and should be used as C++ version of...
  13. Re: Copying from unsigned char * to the CString

    What is wrong with std::string???

    Try this




    void DoSomethingWithBinaryData(char* szData, unsigned int nLen)
    {
  14. Re: Copying from unsigned char * to the CString

    What's wrong with std::string???
  15. Re: Copying from unsigned char * to the CString

    :rolleyes:
  16. Replies
    1
    Views
    763

    Re: Help for Delay

    I believe there is no actual commad to achive what you are trying to do. But you can try to emulate it. Have a look at the link .

    Hope this helps,
    Regards,
    Usman.
  17. Re: Copying from unsigned char * to the CString

    0xC0000005 is right, my suggestion is to use std::string for that purpose.

    Regards,
    Usman.
  18. Replies
    12
    Views
    1,825

    Re: Get filename from context menu

    juanpast, which app crashes? is it the explorer or your own application???

    Regards,
    Usman.
  19. Replies
    20
    Views
    3,478

    Re: Help a C++ beginer.

    Executive summary anyone??? :D
  20. Replies
    20
    Views
    3,478

    Re: Help a C++ beginer.

    If you have access to MS Visual Studio, download some beginner's project (look into CodeGuru articles page) and step through the code. This will give you a good idea of how those projects are laid...
  21. Replies
    12
    Views
    1,825

    Re: Get filename from context menu

    Notice the bold part of the code.

    Regards,
    Usman.
  22. Replies
    12
    Views
    1,825

    Re: Get filename from context menu

    May be by hooking, but I didnt try it myself. Someone else here might be able to help you with that.

    Regards,
    Usman.
  23. Replies
    12
    Views
    1,825

    Re: Get filename from context menu

    Have a look at Shell Extension.

    Regards,
    Usman.
  24. Replies
    8
    Views
    1,378

    Re: Program Main Loop.

    Sleeping in the main thread is not a good idea (the application will appear to be hung/non-responsive during sleep). I'd suggest to create worker thread, and do the sleeping over there :).
    ...
  25. Replies
    6
    Views
    4,662

    Re: HttpQueryInfo problem not able to get 200 status.

    What does HttpQueryInfo returns? I don't see that you are checking bRet.

    Regards,
    Usman.
Results 1 to 25 of 1395
Page 1 of 56 1 2 3 4





Click Here to Expand Forum to Full Width

Featured