Newbie WM_SETFONT Q
Fri, 4 Jul 2008 06:44:30 -0700 (PDT)
How do I use the WM_SETFONT message to set the font and size of a edit
box? ...
|
Restore a window WITHOUT activation
Fri, 4 Jul 2008 01:01:21 -0700 (PDT)
Hi all,
I need to restore a window from the minimized position without
restoring it (i.e. the window that currently has the focus should
retain it).
The window shows a virtual keyboard that should help the user enter
text without taking away the focus from the window he's currently
working with. It's in a ...
|
problem with simple dialogbox not showing up
Thu, 3 Jul 2008 20:41:49 -0700 (PDT)
Hello, I am trying to write a simple program on windows xp with visual
studio 6 (I know it's really old). However, when running the
application after creating a simple dialog resource, no dialog shows
up. (here is the source: http://simplesamples.info/Windows/DlgHello.php).
Now the interesting part, I found if ...
|
bitmapped UI
Thu, 03 Jul 2008 10:21:22 -0500
Anybody got a link to a basic tutorial on building bitmapped interfaces? ...
|
SubClass to catch WM_LBUTTONUP on titlebar
Wed, 2 Jul 2008 11:48:02 -0700
Try to catch the WM_LBUTTONUP message when user click on titlebar.
Subclass the window (Style: 0x16CF0000, Ext Style: 0x40300), was able to
catch WM_NCLBUTTONDOWN, but not WM_LBUTTONUP. Any idea?
The window indeed get WM_LBUTTON msg, shown on Spy++.
George ...
|
GetCursorPos fails with "Not enough Storage"
Wed, 2 Jul 2008 07:44:33 -0700 (PDT)
::GetCursorPos failed with rc = 8: Not enough storage is available to
process this command in the following code:
POINT pt = {0};
if (!::GetCursorPos(&pt))
{
//make a stink ...
}
Seriously though, how much storage is required to figure out where the
mouse cursor is located :-)
I Googled but could no ...
|
Problem: Activation of application through left click on iconized
application on system tray
Tue, 1 Jul 2008 00:15:43 -0700 (PDT)
Hello,
I have an MFC VC++ 6.0 application, where I work on for some months.
Somehow the appplication window cannot be activated anymore, when
iconized
(minimized) on the system tray. Left clicking on the minimized
appplication icon does nothing anymore.
Only right clicking and selecting "restore" on the syst ...
|
|
|
EM_STREAMOUT: Unhandled exception in msftedit.dll (includes sample
Sun, 29 Jun 2008 21:21:00 -0700
I'm just trying to stream out text. This very simple sample streams the text
out and then crashes. I'm probably missing something really obvious but I
can't see it.
#ifndef WIN32
#define WIN32
#endif
#ifndef _DEBUG
#define _DEBUG
#endif
#ifndef _WINDOWS
#define _WINDOWS
#endif
#ifndef _UNICOD ...
|
Problem about treeview control
Sat, 28 Jun 2008 18:19:00 -0700
Dear all,
I encountered a strange problem when programming with WTL.
I've got a treeview control in a window.
If the window is put in another window,
after editting the treeview control, I can finish editting the control with
"return" entered.
But if the window is put in a dialog box, I can't finish editting ...
|
Re: GDI functions and scaling - Can't get it to work .... W98 <-> XP differences ?
Sat, 28 Jun 2008 12:17:28 +0200
Hello all,
I'm trying to scale stuff that GDI32.DLL can draw, and have troubles with
it.
I've tried many combinations, but was, on a W98se machine, not able to get
it to work. However, while working on a XP machine I got something that
seemed to work as intended :
call SetMapMode,[@@hDC],MM_ANISOTROPI ...
|