comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
April 2008
motuwethfrsasuw
 123456 14
78910111213 15
14151617181920 16
21222324252627 17
282930     18
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
  Post WM_KEYDOWN and ignore Ctrl/Alt/Shift is pressed         


Author: Magnus Olsson
Date: Apr 16, 2008 23:14

When I press CTRL+x, CTRL+ALT+x or CTRL+ALT+SHIFT+x (where x is a
number) I want to send a sequence of chars to another application that
is not I focus. To send the sequence I user following code:

PostMessage(wnd, WM_KEYDOWN, key, 0x1);
PostMessage(wnd, WM_KEYUP, key, 0xC0010001);

It works perfect when I don’t user Ctrl, Alt or Shift, but when I use
them, I get problem. If I e.g. try to send the letter F when I have
Ctrl pressed, the target applications handle it as CTRL+F, but I want
it to ignore the ctrl (I don’t have access to the target applications
source code).

I have try to use SetKeyboardState (together with AttachThreadInput)
to set the keyboard state before I send, and it works sometimes, but
not always.
I have alsow try to use SnedInput to send KEYEVENTF_KEYUP for Ctrl,
Alt and Shift, but it doesn’t help.

Any sugestion how to solv it?
1 Comment
  Kill a program that is not responding in C++         


Author: cseifert
Date: Apr 16, 2008 21:57

Hi there, I am starting a application in C++. Occasionally, the
started application hangs (in windows I get the "This program is not
responding"). Is there a way to kill it programatically (similar to
stopping it in the task manager?)
Thx
Christian
4 Comments
  Full programmes for a free download         


Author: foryou
Date: Apr 16, 2008 16:15

Full programmes for a free download will not be found in any site or
forum but here http://foryou-programs.blogspot.com/ find everything
and always with the new.

If not find program, which sent a letter looking for the programme and
will be entitled to include it and tell you in less than 24 hours
All of this for you and for your comfort with http://foryou-programs.blogspot.com/
will not need to search long and you everything at your fingertips

Http://foryou-programs.blogspot.com/ Here you will find what you are
looking for
Stronger set of programmes rare - binding directly
Make your fast missile
Http://www.upload10.com/up/download.php?file=d3cd03f1d28f8214f90d5ae1e2e76115
--------------------------------------------------
-----------------------------------------------
The restoration of deleted files even after primer
Http://www.upload10.com/up/download.php?file=12f5d0f1f479d357a681515c9b03f360
--------------------------------------------------
-----------------------------------------------
Show full article (4.43Kb)
no comments
  Can't add a button to ToolBar         


Author: DerekBaker
Date: Apr 16, 2008 11:56

I've created a toolbar, but my attempt to display a button from the builtin types has failed.

I call:

LRESULT Ret = SendMessage(hwnd, TB_LOADIMAGES, (WPARAM)IDB_STD_SMALL_COLOR, (LPARAM)HINST_COMMCTRL);

But the return value is 0 indicating no images have been loaded.

Any help?

Thanks
--
Derek
1 Comment
  Physical drive name by handle (WinAPI | C++)         


Author: CAHEK
Date: Apr 16, 2008 07:47

Hi all!
Anybody knows how to get physical drive name by it's handle?
Thanks!
9 Comments
  How to get Motherboard serial number?         


Author: itisthiyagu
Date: Apr 16, 2008 02:19

How to get Motherboard serial number?

I want to use Motherboard serial number for licensing mechanism.
I am able to get MAC address of Network Adapter. If user changes the
NIC, MAC changes.
I want to use some client information which is stable. I prefer to
use Motherboard's serial number.

anybody knows how to get Motherboard serial number?

Thanks in Advance.
6 Comments
  Problem with MFC and crystal report 11         


Author: gabriele
Date: Apr 16, 2008 00:37

When I use export function in crystal report viewer embedded in my mfc
project
and I close my application an error occours in this line..

ASSERT(m_pSlotData[nSlot].dwFlags & SLOT_USED);
of
CThreadSlotData::GetThreadValue(int nSlot)

The export works fine..
any ideas??

thanx
gabriele
1 Comment