Search:

Type: Posts; User: larry

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. I experienced a lot of things in programming, but...

    I experienced a lot of things in programming, but this wouldn't even come to my mind. The problem mentioned never occured again since I:

    switched to full rights Windows XP user profile

    Believe...
  2. I removed the comment. It seems the problem is...

    I removed the comment. It seems the problem is the same.


    I tried it now and it freezed right in the first attempt (on WinXP). It doesn't freeze forever, but it takes about 20 seconds to get to...
  3. multithreaded programming -- strange behavior

    I'm working on a program, but get stuck up. When I debug, it "sometimes" totally freezes the debugger. I removed everything possible while preserving the problem reproducable. Smallest code doing the...
  4. Replies
    9
    Views
    2,698

    Every program that uses Visual styles works ok....

    Every program that uses Visual styles works ok. E.g. ThemeExplorer I downloaded.



    No, I'm browsing it online.
  5. Replies
    9
    Views
    2,698

    Aha, I was looking for it in forums. Ok, now I...

    Aha, I was looking for it in forums. Ok, now I got it. It's a little different recipe than those I've seen, but the result is absolutely the same (first off with the Hello world application).

    What...
  6. Replies
    9
    Views
    2,698

    Exactly. Typical Hello World application from...

    Exactly. Typical Hello World application from VC++ behaves strangely after doing the modification and compiling. It works, but the Help->About menu item doesn't open the About dialog, so I even can't...
  7. Replies
    9
    Views
    2,698

    Thanks, but this is a description on how to...

    Thanks, but this is a description on how to create a manifest file, which I've seen about 50 times. If I just make a manifest file and include it in as a resource, the program doesn't even run. It...
  8. As for the parameters, I misspelled them, it...

    As for the parameters, I misspelled them, it should be &mm_in and &mm_out.

    GetLastError() returns GMMP_ERR_POINT_NOT_FOUND "The point specified by lppt could not be found or is no longer in the...
  9. Popup menu as a response to a click on an icon the context area

    I put an icon in the notification area using Shell_NotifyIcon and specified a window (that receives notification messages from this icon) and a user message (that is sent in such cases) in the...
  10. Replies
    9
    Views
    2,698

    Windows XP visual styles

    I think this question has been already asked multiple times, but for some reason I couldn't find any related posts so I have to ask. Please just give me a link to a post if the question was asked...
  11. Replies
    7
    Views
    2,986

    As for the typecast, I don't think MS is going to...

    As for the typecast, I don't think MS is going to change the NMHDR structure, because it's the LPARAM of WM_NOTIFY message, one of the most essential messages. They'd more likely change the...
  12. Replies
    7
    Views
    2,986

    Thanks, but I probably didn't express myself...

    Thanks, but I probably didn't express myself clearly. I want only some labels to be uneditable, not all of them, so the LVN_BEGINLABELEDIT style is not going to help me, because it defines the...
  13. Replies
    7
    Views
    2,986

    The problem is, that the control doesn't react to...

    The problem is, that the control doesn't react to values I return, not the notificiation message itself.
  14. Replies
    7
    Views
    2,986

    preventing editing of List View item's label

    How do I prevent user from editing a List View item's label? MSDN says that it can be done by returning TRUE in response to a LVN_BEGINLABELEDIT notification. But this doesn't work. I have following...
  15. Thread: default font

    by larry
    Replies
    2
    Views
    1,838

    DEFAULT_GUI_FONT returns Sans Serif, but it's not...

    DEFAULT_GUI_FONT returns Sans Serif, but it's not the font used by dialog box controls - as far as I can see, dialog box controls use Tahoma. Buttons, edit boxes, combo boxes, etc... I think this...
  16. Thread: default font

    by larry
    Replies
    2
    Views
    1,838

    default font

    I created (at runtime) a Tab Control, but it has an ugly "System" font on tabs. When I send to the control a WM_SETFONT message with NULL parameter, nothing changes. When I make a ...
  17. Replies
    5
    Views
    943

    Just a note. Things like ar+1 or maybe ++ar...

    Just a note. Things like
    ar+1 or maybe
    ++ar are called pointer arithmetics. It's very useful when using e.g. linked lists. When travelling through it, you don't need to declare additional integer...
  18. Replies
    9
    Views
    2,200

    If you don't want to pass a plyr type struct into...

    If you don't want to pass a plyr type struct into the operator each time you call it, make an instance of plyr struct in the class:


    class c_stats {
    private:
    struct plyr {
    ...
  19. Thread: context menu

    by larry
    Replies
    2
    Views
    1,369

    I've already tried this. It doesn't work. I think...

    I've already tried this. It doesn't work. I think submenus are the problem. Try it if you don't believe me. I get the number of items in the "root" using GetMenuItemCount() and do a GetMenuItemInfo()...
  20. Thread: Updating

    by larry
    Replies
    14
    Views
    2,734

    You never release the DC!

    You never release the DC!
  21. Thread: context menu

    by larry
    Replies
    2
    Views
    1,369

    context menu

    Displaying a context menu is supported only for popup menus in Windows. If you use TrackPopupMenuEx() you have to pass a handle to a popup menu (subenu). If you try to use it with the main menu...
  22. Replies
    63
    Views
    29,655

    Poll: I think Pascal still IS useful. Delphi is very...

    I think Pascal still IS useful. Delphi is very powerful tool for people who develop simple Windows applications and even something more complicated due to ActiveX-like components system. Compiler is...
  23. Thread: inheritance

    by larry
    Replies
    2
    Views
    1,055

    inheritance

    I have a class CGeneral. And then I have more classes CClass1, CClass2, ... Each one is a public child of CGeneral. Can I create a pointer to CGeneral which can be later casted to pointer to some of...
  24. Replies
    3
    Views
    5,478

    I've had some problem with logging in, so I...

    I've had some problem with logging in, so I posted this thread as an Unregistered. There is a correction of the last article.


    Now for the answers.

    I meant that both GetUpdateRect() and...
  25. Replies
    9
    Views
    2,555

    Actually it was not me who downloaded it, it was...

    Actually it was not me who downloaded it, it was my friend. The book itself says http://www.bruceeckel.com, try it.

    Petzold is online?? WHERE?!?!? You know, the printed version is REALLY expensive...
Results 1 to 25 of 96
Page 1 of 4 1 2 3 4