Click here to Skip to main content
15,921,250 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Icon at corner of dialog and prop sheet Pin
toxcct24-Nov-04 6:54
toxcct24-Nov-04 6:54 
QuestionMDI current active view: how to? Pin
Guy Lecomte24-Nov-04 5:38
Guy Lecomte24-Nov-04 5:38 
AnswerRe: MDI current active view: how to? Pin
Joaquín M López Muñoz24-Nov-04 7:40
Joaquín M López Muñoz24-Nov-04 7:40 
GeneralRe: MDI current active view: how to? Pin
Guy Lecomte25-Nov-04 21:04
Guy Lecomte25-Nov-04 21:04 
GeneralMFC and Windows messages Pin
madretierra24-Nov-04 5:11
madretierra24-Nov-04 5:11 
GeneralPropertyPage help instantiating Pin
KingTermite24-Nov-04 4:30
KingTermite24-Nov-04 4:30 
GeneralRe: PropertyPage help instantiating Pin
Mike Danberg24-Nov-04 10:08
Mike Danberg24-Nov-04 10:08 
GeneralRe: PropertyPage help instantiating Pin
KingTermite30-Nov-04 4:24
KingTermite30-Nov-04 4:24 
Mike Danberg wrote:
As far as the problem with the third tab error, you can't access a control on the other tab. It's exactly the same as having a dialog that's not open yet. The control isn't there, so you can't access it.

Hope that helps. Can't really tell you much more since I don't know exactly what you're doing.



Well....I was trying to find a way to make sure the dialog "was there" so I could access the control.

Here's more on the problem (fixed now btw) just for information...I couldn't post a code snippet as it is a work project (IP and all that crapola ya know).

It is a power pnael interface for a test station and one tab is a "health monitor" and the two other are two seperate "power" panels for powering up power supplies. The health monitor needs to inactivate monitor controls for power supplies that are not powered. the logic was there for them to safely not run, but I wanted to make the controls visibly disabled to show that they weren't evens selectable while power supplies were not powered up (checkboxes).

However, OnSetActivate() was just the trick I needed (and didn't know). I overrode that function and now when that tab is pressed (instead of during the other tab's processing), I can deactivate the controls.

Thanks. Smile | :)



There are only 10 types of people in this world....those that understand binary, and those that do not.
GeneralThread sync will not compile Pin
Shay Harel24-Nov-04 4:24
Shay Harel24-Nov-04 4:24 
GeneralRe: Thread sync will not compile Pin
John M. Drescher24-Nov-04 5:14
John M. Drescher24-Nov-04 5:14 
GeneralRe: Thread sync will not compile Pin
Shay Harel24-Nov-04 5:47
Shay Harel24-Nov-04 5:47 
GeneralCDialog::DoModal in com. Assert failure when exiting doModal Pin
ido197524-Nov-04 4:19
ido197524-Nov-04 4:19 
Questionhow to use cryptography class in c++ Pin
Anonymous24-Nov-04 4:04
Anonymous24-Nov-04 4:04 
AnswerRe: how to use cryptography class in c++ Pin
John M. Drescher24-Nov-04 5:29
John M. Drescher24-Nov-04 5:29 
GeneralRe: CStatic Control Pin
John R. Shaw24-Nov-04 3:27
John R. Shaw24-Nov-04 3:27 
GeneralRe: CStatic Control Pin
Antony M Kancidrowski24-Nov-04 3:42
Antony M Kancidrowski24-Nov-04 3:42 
GeneralRe: CStatic Control Pin
namaskaaram24-Nov-04 20:42
namaskaaram24-Nov-04 20:42 
GeneralCStatic Control Pin
shijuck24-Nov-04 2:59
shijuck24-Nov-04 2:59 
GeneralMedia Player 10 ActiveX Problem Pin
X204024-Nov-04 2:51
X204024-Nov-04 2:51 
GeneralC++ Help Pin
BRIMID24-Nov-04 1:37
BRIMID24-Nov-04 1:37 
GeneralRe: C++ Help Pin
Mike Danberg24-Nov-04 11:18
Mike Danberg24-Nov-04 11:18 
GeneralRe: C++ Help Pin
RYU^^24-Nov-04 13:48
RYU^^24-Nov-04 13:48 
Generalsmall doubt Pin
Tripura.K24-Nov-04 1:36
Tripura.K24-Nov-04 1:36 
GeneralRe: small doubt Pin
John R. Shaw24-Nov-04 3:56
John R. Shaw24-Nov-04 3:56 
GeneralWM_SHUTDOWN Notification to a dll Pin
AssemblySoft24-Nov-04 0:42
AssemblySoft24-Nov-04 0:42 

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.