Click here to Skip to main content
16,007,443 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: saving 12 bits images Pin
CPallini12-Jan-09 23:14
mveCPallini12-Jan-09 23:14 
AnswerRe: saving 12 bits images Pin
«_Superman_»12-Jan-09 23:35
professional«_Superman_»12-Jan-09 23:35 
AnswerRe: saving 12 bits images Pin
alfalf313-Jan-09 4:15
alfalf313-Jan-09 4:15 
QuestionMulti language support in MBCS application Pin
Varghese Paul M12-Jan-09 21:06
Varghese Paul M12-Jan-09 21:06 
AnswerRe: Multi language support in MBCS application Pin
Jijo.Raj12-Jan-09 21:55
Jijo.Raj12-Jan-09 21:55 
AnswerRe: Multi language support in MBCS application Pin
«_Superman_»12-Jan-09 23:21
professional«_Superman_»12-Jan-09 23:21 
AnswerRe: Multi language support in MBCS application Pin
Randor 13-Jan-09 0:08
professional Randor 13-Jan-09 0:08 
QuestionBackGround color of Status Bar Pin
karhong12-Jan-09 19:27
karhong12-Jan-09 19:27 
Hi, I'm able to set the text and the background color of the text for Status bar, but I'm not able to set the color for the 'seperator' of the status bar.
I have 3 column on the status bar, each of the text and background I'm able to set it but have no luck on the 'seperator'
I've done it by creating a custom status bar inherited from CStatusBar
By drawing it on DrawItem

CODE:

CDC oDC;

CDC* pdc = CDC::FromHandle(pDIS->hDC);
pdc->FillSolidRect(&pDIS->rcItem, RGB(255,255,255));

oDC.Attach(pDIS->hDC);
oDC.SetTextColor(RGB(255,0,0));
oDC.SetBkColor(pDIS->itemData);
pDIS->rcItem.left += 2;
oDC.DrawText(_T("Test"),&pDIS->rcItem,DT_LEFT);
oDC.Detach();

Any ways to do this?

I wanted to change the whole status bar into white color RGB(255,255,255)
Any help would be appreciated.

KH

good

AnswerRe: BackGround color of Status Bar [modified] Pin
karhong12-Jan-09 20:53
karhong12-Jan-09 20:53 
QuestionRe: BackGround color of Status Bar Pin
«_Superman_»12-Jan-09 23:11
professional«_Superman_»12-Jan-09 23:11 
AnswerRe: BackGround color of Status Bar Pin
karhong13-Jan-09 14:13
karhong13-Jan-09 14:13 
QuestionWhich one more efficient? Pin
Le@rner12-Jan-09 19:12
Le@rner12-Jan-09 19:12 
AnswerRe: Which one more efficient? Pin
ThatsAlok12-Jan-09 19:40
ThatsAlok12-Jan-09 19:40 
AnswerRe: Which one more efficient? Pin
ThatsAlok12-Jan-09 19:42
ThatsAlok12-Jan-09 19:42 
AnswerRe: Which one more efficient? Pin
CPallini12-Jan-09 20:52
mveCPallini12-Jan-09 20:52 
GeneralRe: Which one more efficient? Pin
ThatsAlok12-Jan-09 23:09
ThatsAlok12-Jan-09 23:09 
GeneralRe: Which one more efficient? Pin
CPallini12-Jan-09 23:19
mveCPallini12-Jan-09 23:19 
GeneralRe: Which one more efficient? Pin
SandipG 12-Jan-09 23:56
SandipG 12-Jan-09 23:56 
GeneralRe: Which one more efficient? Pin
CPallini13-Jan-09 0:09
mveCPallini13-Jan-09 0:09 
GeneralRe: Which one more efficient? Pin
Jijo.Raj12-Jan-09 23:19
Jijo.Raj12-Jan-09 23:19 
AnswerRe: Which one more efficient? Pin
«_Superman_»12-Jan-09 22:54
professional«_Superman_»12-Jan-09 22:54 
QuestionHow do you access and change the value of an element in another routine of the program? Pin
dconnell12-Jan-09 17:19
dconnell12-Jan-09 17:19 
AnswerRe: How do you access and change the value of an element in another routine of the program? Pin
Cedric Moonen12-Jan-09 20:45
Cedric Moonen12-Jan-09 20:45 
QuestionUsing XOR to decrypt a previously encrypted program and run (Visual Studio and ASM) Pin
BobMMarley12-Jan-09 16:21
BobMMarley12-Jan-09 16:21 
AnswerRe: Using XOR to decrypt a previously encrypted program and run (Visual Studio and ASM) Pin
Randor 12-Jan-09 23:23
professional Randor 12-Jan-09 23:23 

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.