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

Search:

Type: Posts; User: Notsosuperhero

Page 1 of 36 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    1,147

    Re: What is good about HD programs?

    The sports are amazing. Its definitely worth it.

    I got a new TV a few months ago, my dad was like "Why would you pay so much for a TV?" then I turned on a football game and he didn't want to leave...
  2. Replies
    2,690
    Views
    1,011,260

    Re: What Song Are You Listening To Now¿

    Collective Soul - Heavy
  3. Replies
    3
    Views
    4,142

    Re: Windows control name

    It is a property grid, you can maybe get something like it with Property Sheets.
  4. Replies
    9
    Views
    1,558

    Re: A Pet Peeve

    I would only say that as an addition to the answer I have given, like just to find maybe some other possibly better solutions.

    I agree though it is extremely rude.
  5. Replies
    2
    Views
    691

    Re: adding menu

    Either set wc.lpszMenuName to the ID of the menu resource(use the macro MAKEINTRESOURCE(id)), or use LoadMenu to load the menu.
  6. Replies
    10
    Views
    10,995

    Re: User interface

    Well, you could do many things with WinAPI. MFC is just basically WinAPI wrapped in fancy classes.

    Can't really comment on .NET as I don't use it.

    But if you want WinAPI you should get...
  7. Replies
    6
    Views
    1,061

    Re: Window Error

    Well you don't need to switch the message in WndProc, you're application will still run, since DefWindowProc will handle all the messages in Window's default way, but if you don't handle WM_DESTROY...
  8. Replies
    6
    Views
    1,061

    Re: Window Error

    this line:


    wndclass.style = CS_HREDRAW || CS_VREDRAW;
    Should be:


    wndclass.style = CS_HREDRAW | CS_VREDRAW;

    You have the logical OR you need the binary OR to combine style flags.
  9. Re: Api for MTP devices (media transfer protocol)

    Maybe one of these

    I'm not sure, never did anything regarding MTP devices.
  10. Replies
    7
    Views
    7,855

    Re: Problem with commctrl.h

    You will get the linker errors if you include the header but not the library. The header contains declarations, the library contains the actual implementation of the functions.

    comctl32.lib should...
  11. Replies
    7
    Views
    7,855

    Re: Problem with commctrl.h

    You need to link to the comctl32.lib library
  12. Replies
    3
    Views
    637

    Re: about function

    You have a lot of basic questions. I think you should go and look up some C++ tutorials online or get a beginner C++ book.
  13. Replies
    7
    Views
    2,683

    Re: SendMessage Problem

    Thats because CreateProcess just immediately returns, so the window isn't fully created yet when you call FindWindow.

    If you look at CreateProcess on MSDN it stats in the 'Remarks' section that...
  14. Replies
    7
    Views
    2,683

    Re: SendMessage Problem

    You can use ShellExecute or ShellExecuteEx to launch the Notepad, then you can use FindWindow with the class name "Notepad":


    ShellExecute(NULL,"open","Notepad.exe",NULL,NULL,SW_MAXIMIZE);
    HWND...
  15. Replies
    9
    Views
    1,179

    Re: Explain me,

    I just installed Kubuntu 64 bit. I opted to make its loader cut my HD in half so half is Windows, half is Linux, worked perfectly fine. Once I reformat it(probably going to buy XP Pro instead of Home...
  16. Replies
    3
    Views
    2,846

    Re: Remove frames from AVI files

    You're welcome.
  17. Replies
    3
    Views
    2,846

    Re: Remove frames from AVI files

    Maybe EditStreamCut

    I'm not sure, haven't worked with AVI files.
  18. Replies
    2,690
    Views
    1,011,260

    Re: What Song Are You Listening To Now¿

    Martha And The Vandellas - Nowhere To Run

    / Man I love that motown stuff so catchy
  19. Replies
    16
    Views
    2,294

    Re: Help Needed Using DLL

    GetProcAddress(hinstDLL, L"MyMouseProc");

    You aren't assigning anything this. You need assign the function pointer.



    hkprcSysMsg = (HOOKPROC)GetProcAddress(hinstDLL, L"MyMouseProc");

    You...
  20. Replies
    2,690
    Views
    1,011,260

    Re: What Song Are You Listening To Now¿

    Marty Friedman - The Brightest Star of All

    / really touching tribute to Jason Becker
  21. Replies
    4
    Views
    1,078

    Re: How to confound the world...

    When I was little my family was on vacation and my dad let my mom drive the boat and she plowed straight into the biggest wave on the lake(not a huge wave or anything) but I almost fell off the boat,...
  22. Replies
    5
    Views
    1,330

    Re: Exit message

    In WM_CLOSE in your window procedure you can do:



    case WM_CLOSE:
    {
    if (MessageBox(hWnd, "Are You Sure You Want To Exit?", "Exit", MB_YESNO) == IDYES)
    {
    PostQuitMessage(0);
    ...
  23. Replies
    5
    Views
    6,196

    Re: MessageBox syntax

    Well MFC is basically Win32 put in classes. I was thrown off by Edit->Text since the '->' operator is used to get access to a class' function or member. In Win32 an edit box is created by calling...
  24. Replies
    3
    Views
    781

    Re: Create help File

    I use HTMLHelp from Microsoft to create the help files in CHM format.

    Then you can add a button and in the button handler(parent window's WM_COMMAND, the button is the LOWORD of wParam) use...
  25. Replies
    5
    Views
    6,196

    Re: MessageBox syntax

    Do you want to add the string of the edit box to the end of the message?

    MessageBox takes 4 arguments:


    MessageBox(HWND hWnd, LPCTSTR lpText, LPCTSTR lpTitle, UINT uType)


    You can use...
Results 1 to 25 of 894
Page 1 of 36 1 2 3 4





Click Here to Expand Forum to Full Width

Featured