Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ 6.0 and 64 bit Pin
Hamid_RT17-Jan-09 20:26
Hamid_RT17-Jan-09 20:26 
GeneralRe: VC++ 6.0 and 64 bit Pin
Randor 19-Jan-09 4:14
professional Randor 19-Jan-09 4:14 
GeneralRe: VC++ 6.0 and 64 bit Pin
Hamid_RT20-Jan-09 19:10
Hamid_RT20-Jan-09 19:10 
Questionopening Multiple files through a folder Pin
ritu rana15-Jan-09 13:38
ritu rana15-Jan-09 13:38 
AnswerRe: opening Multiple files through a folder Pin
CPallini15-Jan-09 21:18
mveCPallini15-Jan-09 21:18 
Questionopening Multiple files from a folder Pin
ritu rana15-Jan-09 13:37
ritu rana15-Jan-09 13:37 
QuestionProblem with 3-State Check Box (push style) with common controls 6.0 Pin
Software200715-Jan-09 9:44
Software200715-Jan-09 9:44 
AnswerRe: Problem with 3-State Check Box (push style) with common controls 6.0 Pin
Software200715-Jan-09 15:33
Software200715-Jan-09 15:33 
Sorry about the long code, In summary, THis is what I want
void CColoredButton::OnClicked() {	
if(GetCheck()==2){     // THis case here is where the problem I believe		
    ModifyStyle(BS_BITMAP,0);		
    InvalidateRect(NULL);	
}	
 else{	 //This will handle ON & OFF--- this works fine	
ModifyStyle(0,BS_BITMAP);		
SetColoredCheck(GetCheck(),m_FontSize);	}
......


When GetCheck() ==2 for the indeterminate state, it always worked where the button was pretty much disabled or Kindda grayed out, but with the new common controls, its not the case any more, the text somehow gets overlapped and shows 2 different colors... Any idea what the problem might be there, or how I can may be get around this?

sft

Questionhow to contact outlook calender from VC++ ? Pin
spicy_kid200015-Jan-09 6:32
spicy_kid200015-Jan-09 6:32 
AnswerRe: how to contact outlook calender from VC++ ? Pin
Cedric Moonen15-Jan-09 7:15
Cedric Moonen15-Jan-09 7:15 
AnswerRe: how to contact outlook calender from VC++ ? Pin
Stuart Dootson15-Jan-09 9:11
professionalStuart Dootson15-Jan-09 9:11 
Questionlimiting print margins Pin
TClarke15-Jan-09 4:43
TClarke15-Jan-09 4:43 
AnswerRe: limiting print margins Pin
Iain Clarke, Warrior Programmer15-Jan-09 5:17
Iain Clarke, Warrior Programmer15-Jan-09 5:17 
GeneralRe: limiting print margins Pin
TClarke15-Jan-09 5:48
TClarke15-Jan-09 5:48 
AnswerRe: limiting print margins Pin
Rajkumar R15-Jan-09 7:16
Rajkumar R15-Jan-09 7:16 
GeneralRe: limiting print margins [modified] Pin
TClarke15-Jan-09 23:14
TClarke15-Jan-09 23:14 
QuestionWM5 dev, Problem with C++ FindFirstFile returning 0xffffffff Pin
uzziah015-Jan-09 3:48
uzziah015-Jan-09 3:48 
AnswerRe: WM5 dev, Problem with C++ FindFirstFile returning 0xffffffff Pin
Randor 15-Jan-09 4:20
professional Randor 15-Jan-09 4:20 
GeneralRe: WM5 dev, Problem with C++ FindFirstFile returning 0xffffffff Pin
uzziah015-Jan-09 4:46
uzziah015-Jan-09 4:46 
QuestionAccess Database: Create Table Pin
SutterA15-Jan-09 3:14
SutterA15-Jan-09 3:14 
AnswerRe: Access Database: Create Table Pin
David Crow15-Jan-09 4:20
David Crow15-Jan-09 4:20 
Questionwindows Loader Pin
Member 342050915-Jan-09 1:44
Member 342050915-Jan-09 1:44 
AnswerRe: windows Loader Pin
Iain Clarke, Warrior Programmer15-Jan-09 2:04
Iain Clarke, Warrior Programmer15-Jan-09 2:04 
AnswerRe: windows Loader Pin
Naveen15-Jan-09 2:07
Naveen15-Jan-09 2:07 
QuestionCan i fix the size of splitted view? Pin
Le@rner15-Jan-09 1:29
Le@rner15-Jan-09 1: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.