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...
Type: Posts; User: larry
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...
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...
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...
Every program that uses Visual styles works ok. E.g. ThemeExplorer I downloaded.
No, I'm browsing it online.
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...
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...
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...
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...
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...
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...
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...
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...
The problem is, that the control doesn't react to values I return, not the notificiation message itself.
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...
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...
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 ...
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...
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 {
...
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()...
You never release the DC!
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...
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...
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...
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...
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...