comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
January 2008
motuwethfrsasuw
 123456 1
78910111213 2
14151617181920 3
21222324252627 4
28293031    5
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  The simple made difficult: make child control active         


Author: [Jongware]
Date: Jan 4, 2008 13:46

For an application to display a simple list of data, I created an empty window
and added a listbox covering the entire client area as a child control. But this
doesn't behave as I'd expect: it does not get activated automatically if the
program is run, and if I force it to the foreground using SetForegroundWindow I
get strange side effects -- notably, whenever I toggle to another program and
back, it doesn't work anymore. I could work around that with handling
WM_ACTIVEAPP, but that seems a bit overreacting. In addition, when I quit the
program, the last active app doesn't get its focus back -- where for other
programs that works as usual.
I /think/ the list box control is as normal as you can get with just WS_CHILD
set, and I even threw in WS_TABSTOP and WS_GROUP to be sure (there is no other...
Show full article (1.02Kb)
9 Comments
  Getting DIMM SPD data via I2C bus         


Author: smsabu2002
Date: Jan 4, 2008 12:11

I need to dump the SPD data of DIMM memory chip. Basically, SPD chip
sits on I2C bus, which is accessible by SouthBridge SMBus controller.

I don't know how to access SPD EEPROM chip via I2C bus.

Please guide me on this issue.

Thanks,
Arun
no comments
  RegQueryValueEx error on vista         


Author: James Wilson
Date: Jan 4, 2008 11:45

The following code worked in the past on XP, but when I run it on vista
RegQueryValueEx is returning an error. Can someone tell me what is wrong?

Thanks,
James

strcpy(subkey, "Software\\Microsoft\\Windows NT\\CurrentVersion");

// this function does not return an error:

lstat = RegOpenKeyEx(
HKEY_LOCAL_MACHINE,
subkey,
0,
KEY_QUERY_VALUE,
&hkey);

if (lstat != ERROR_SUCCESS) {
return; // registry key doesn't exist
}

dwSize = sizeof(sn);
dwType = 0;

strcpy(valname, "ProductId");
Show full article (0.90Kb)
1 Comment
  Windows XP         


Author: 456
Date: Jan 4, 2008 11:28

Tips and Tricks for Windows XP collection http://windows-xp-tricks.blogspot.com/
no comments
  Windows 2003 server and Long File Names         


Author: Neo
Date: Jan 4, 2008 04:11

Hi all,
can I create deep folder hierarchy which is exceeding 260 characters
on windows 2003 server?
Is there any way to do this?
4 Comments