Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOnInitDialog question Pin
RK_200017-Mar-02 13:32
RK_200017-Mar-02 13:32 
GeneralRe: OnInitDialog question Pin
Nish Nishant17-Mar-02 13:30
sitebuilderNish Nishant17-Mar-02 13:30 
GeneralLVM_SETITEMTEXT problem Pin
17-Mar-02 9:46
suss17-Mar-02 9:46 
GeneralRe: LVM_SETITEMTEXT problem Pin
Michael Dunn17-Mar-02 12:51
sitebuilderMichael Dunn17-Mar-02 12:51 
Generalnetmeeting Pin
17-Mar-02 8:29
suss17-Mar-02 8:29 
GeneralRe: netmeeting Pin
Michael P Butler17-Mar-02 22:07
Michael P Butler17-Mar-02 22:07 
GeneralHelp with WTSRegisterSessionNotification Pin
17-Mar-02 7:49
suss17-Mar-02 7:49 
GeneralRe: Help with WTSRegisterSessionNotification Pin
Tim Smith17-Mar-02 7:50
Tim Smith17-Mar-02 7:50 
This routine works by sending a window message to the window you specify. So if you have a main frame window, you can say something like pMainFrm ->GetSafeWnd (). (It has been a while since I did MFC, so this might be slightly wrong.)

If you don't have a window, you will have to create one.

As far as the link error goes, you need to link to wtsapi32.lib.

Word of warning: This routine is only supported on XP. So if you don't use runtime late binding, your program won't even start on 9x/ME/NT/2000 systems.

Tim Smith

I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
GeneralRe: Help with WTSRegisterSessionNotification Pin
17-Mar-02 8:08
suss17-Mar-02 8:08 
GeneralRe: Help with WTSRegisterSessionNotification Pin
17-Mar-02 8:28
suss17-Mar-02 8:28 
GeneralRe: Help with WTSRegisterSessionNotification Pin
17-Mar-02 8:32
suss17-Mar-02 8:32 
GeneralRe: Help with WTSRegisterSessionNotification Pin
Andrew Peace17-Mar-02 9:05
Andrew Peace17-Mar-02 9:05 
GeneralRe: Help with WTSRegisterSessionNotification Pin
17-Mar-02 14:00
suss17-Mar-02 14:00 
GeneralRS-422 seirial com Pin
meirav17-Mar-02 7:29
meirav17-Mar-02 7:29 
GeneralRe: RS-422 seirial com Pin
Tim Smith17-Mar-02 7:45
Tim Smith17-Mar-02 7:45 
Generalhelp with downloading from a login/pass web using php Pin
17-Mar-02 6:48
suss17-Mar-02 6:48 
GeneralVirtual Keys :: MFC Pin
valikac17-Mar-02 6:23
valikac17-Mar-02 6:23 
GeneralRe: Virtual Keys :: MFC Pin
Michael Dunn17-Mar-02 6:59
sitebuilderMichael Dunn17-Mar-02 6:59 
GeneralRe: Virtual Keys :: MFC Pin
valikac17-Mar-02 12:51
valikac17-Mar-02 12:51 
GeneralRe: Virtual Keys :: MFC Pin
Michael Dunn17-Mar-02 12:55
sitebuilderMichael Dunn17-Mar-02 12:55 
GeneralRe: Virtual Keys :: MFC Pin
valikac17-Mar-02 13:21
valikac17-Mar-02 13:21 
GeneralRe: Virtual Keys :: MFC Pin
Michael Dunn17-Mar-02 13:28
sitebuilderMichael Dunn17-Mar-02 13:28 
GeneralBitmaps Pin
17-Mar-02 6:15
suss17-Mar-02 6:15 
GeneralRe: Bitmaps Pin
Paul M Watt17-Mar-02 7:36
mentorPaul M Watt17-Mar-02 7:36 
GeneralRe: Bitmaps Pin
Paul M Watt18-Mar-02 5:29
mentorPaul M Watt18-Mar-02 5:29 

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.