Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to add 24bit BMP to Toolbar Pin
Johan Rosengren14-Jun-04 9:18
Johan Rosengren14-Jun-04 9:18 
GeneralRe: How to add 24bit BMP to Toolbar Pin
JabraJabra14-Jun-04 12:24
JabraJabra14-Jun-04 12:24 
GeneralRe: How to add 24bit BMP to Toolbar Pin
Johan Rosengren14-Jun-04 20:22
Johan Rosengren14-Jun-04 20:22 
GeneralView Pin
Poorniselva14-Jun-04 3:03
Poorniselva14-Jun-04 3:03 
GeneralRe: View Pin
David Crow14-Jun-04 3:19
David Crow14-Jun-04 3:19 
Questionhow display bitmaps files in my app? Pin
kimooo_4_u14-Jun-04 2:59
kimooo_4_u14-Jun-04 2:59 
AnswerRe: how display bitmaps files in my app? Pin
David Crow14-Jun-04 3:16
David Crow14-Jun-04 3:16 
GeneralWindows Service Pin
jstarr@m-net.arbornet.org14-Jun-04 2:52
jstarr@m-net.arbornet.org14-Jun-04 2:52 
Hello,

I am currently writing a Windows Background Service and have run into some trouble.

So far things have been going well, but the only problem I have is that I need to set the state of the CAPS LOCK to on, which I am unable to achieve.

I have include winable.h and I am using the code:

::keybd_event( VK_CAPITAL, 0x45, KEYEVENTF_EXTENDEDKEY, 0 );
::keybd_event( VK_CAPITAL, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0 );

Which works in a regular console application, but I can't seem to get it to work in a windows service.

Is there some sort of security restriction that prevents me from changing the key state? Other then that, I have no idea.

Thanks in advance
GeneralRe: Windows Service Pin
David Crow14-Jun-04 3:21
David Crow14-Jun-04 3:21 
GeneralRe: Windows Service Pin
Navin14-Jun-04 4:28
Navin14-Jun-04 4:28 
QuestionUML-diagram program in VS.NET? Pin
anderslundsgard14-Jun-04 1:49
anderslundsgard14-Jun-04 1:49 
AnswerRe: UML-diagram program in VS.NET? Pin
toxcct14-Jun-04 3:53
toxcct14-Jun-04 3:53 
AnswerRe: UML-diagram program in VS.NET? Pin
Trollslayer14-Jun-04 4:13
mentorTrollslayer14-Jun-04 4:13 
GeneralRe: UML-diagram program in VS.NET? Pin
anderslundsgard14-Jun-04 21:17
anderslundsgard14-Jun-04 21:17 
GeneralMouse Move Event in Win CE Pin
S.DARWIN PAUL RAJ14-Jun-04 1:48
S.DARWIN PAUL RAJ14-Jun-04 1:48 
Generalwindows explorer Pin
kpatry14-Jun-04 1:28
kpatry14-Jun-04 1:28 
GeneralRe: windows explorer Pin
David Crow14-Jun-04 3:12
David Crow14-Jun-04 3:12 
GeneralBMP TO JPG CONVERSION IN VC++ Pin
rajgopal14-Jun-04 1:25
rajgopal14-Jun-04 1:25 
GeneralRe: BMP TO JPG CONVERSION IN VC++ Pin
Atif Mushtaq14-Jun-04 2:00
Atif Mushtaq14-Jun-04 2:00 
GeneralRe: BMP TO JPG CONVERSION IN VC++ Pin
User 665814-Jun-04 2:06
User 665814-Jun-04 2:06 
GeneralRe: BMP TO JPG CONVERSION IN VC++ Pin
Vadim Tabakman14-Jun-04 17:07
Vadim Tabakman14-Jun-04 17:07 
GeneralAfxEnableControlContainer() fails... help Pin
ronhash14-Jun-04 1:23
ronhash14-Jun-04 1:23 
QuestionHow to make Localisation .dll for my product Pin
Gopabandhu14-Jun-04 0:22
Gopabandhu14-Jun-04 0:22 
AnswerRe: How to make Localisation .dll for my product Pin
Johan Rosengren14-Jun-04 1:02
Johan Rosengren14-Jun-04 1:02 
GeneralRe: How to make Localisation .dll for my product Pin
Gopabandhu14-Jun-04 1:27
Gopabandhu14-Jun-04 1:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.