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

Search:

Type: Posts; User: meesa

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    2,516

    Re: [C++] Win32 GDI+ Update Bitmap value?

    The image is attached. Thanks for the help.
  2. Replies
    2
    Views
    2,516

    [C++] Win32 GDI+ Update Bitmap value?

    I'm creating a program, and I need to load a PNG image from the resource files. The goal is simple, pass a Bitmap object by reference to a function, which assigns the PNG from the stream to it, and...
  3. Re: [C++] Win32 Program Wide Keyboard Shortcut

    And that I do appreciate. I wouldn't have known that is how it worked if it wasn't for your telling me. :)
  4. Re: [C++] Win32 Program Wide Keyboard Shortcut

    I see what you mean. I think I'll stick with the method I found though, as it is easier to expand.
  5. Re: [C++] Win32 Program Wide Keyboard Shortcut

    I found it!

    With the help of http://www.cplusplus.com/forum/windows/36860 I changed my search from "shortcut" to "hotkey" I found something about keyboard accelerators...
  6. Re: [C++] Win32 Program Wide Keyboard Shortcut

    Thanks for all your help then.
  7. Re: [C++] Win32 Program Wide Keyboard Shortcut

    Also, I was thinking about it, and that wouldn't work, as I am probably going to want Esc to do something else on the main main window.
  8. Re: [C++] Win32 Program Wide Keyboard Shortcut

    Okay, thanks. Is that a common practice for that kind of thing? It seems odd having that there when that window and any others like it (If there are any) will hardly ever be open.
  9. Re: [C++] Win32 Program Wide Keyboard Shortcut

    Here you go.
  10. Re: [C++] Win32 Program Wide Keyboard Shortcut

    Correct, I tried putting a WM_COMMAND case on my main window's procedure, and nothing happened. When escape is pressed nothing is sent to WM_COMMAND.

    How is it that programs can use things like...
  11. Re: [C++] Win32 Program Wide Keyboard Shortcut

    I don't have a dialog procedure... or I don't think I do (Still new at this) Everything is made from windows.

    Here is a shortened structure:


    //Fonts
    HFONT...
  12. Replies
    9
    Views
    3,709

    Re: [C++] Win32 API Using Themes

    That did it. I guess I should have read both documentations. :)

    Thanks for all the help!
  13. Replies
    9
    Views
    3,709

    Re: [C++] Win32 API Using Themes

    It's not working. When I have the line InitCommonControlsEx(&InitCtrls); I get:


    Yes, I have the right header.
  14. Re: [C++] Win32 Program Wide Keyboard Shortcut

    That's part of the reason I posted. However, once one of my edit boxes gets clicked, or my scrollbar gets moved, the top level window is no longer gettings the messages.
  15. Re: [C++] Win32 Program Wide Keyboard Shortcut

    It's a GUI, but it could be on about 5 different window procedures, so do I have to put 5 different cases?
  16. Replies
    9
    Views
    3,709

    Re: [C++] Win32 API Using Themes

    Then where do I put it? Before any new windows, after new windows, run them once at the beginning of the program and I'm done...?
  17. Replies
    9
    Views
    3,709

    Re: [C++] Win32 API Using Themes

    That line was copied directly from MSDN. However, all the asterisk does it targets all processors rather than just X86 processors.

    And I'd like to know how to do it without MFC, that's why I...
  18. [RESOLVED] [C++] Win32 Program Wide Keyboard Shortcut

    I have a window with some settings in it, and I want to be able to close that window via the [Esc] key. However, since I don't want to put that response into every procedure that I have, and since I...
  19. Replies
    9
    Views
    3,709

    Re: [C++] Win32 API Using Themes

    Edit:
    I updated my code to this:



    /*.h file*/
    #pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*'...
  20. Replies
    9
    Views
    3,709

    [RESOLVED] [C++] Win32 API Using Themes

    How do I use themes with win32? I tried doing some research on the matter, and found that supposedly, if I add:



    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly...
Results 1 to 20 of 20


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center