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

C / C++ / MFC

 
GeneralFocused Based Transparency Question Pin
John Aldrich29-Oct-02 6:34
John Aldrich29-Oct-02 6:34 
GeneralRe: Focused Based Transparency Question Pin
Ravi Bhavnani29-Oct-02 7:21
professionalRavi Bhavnani29-Oct-02 7:21 
QuestionText To Speech SDK 5.0 ? Pin
Member 159223629-Oct-02 6:28
Member 159223629-Oct-02 6:28 
Generalcreating a mapped drive Pin
Tom Wright29-Oct-02 5:59
Tom Wright29-Oct-02 5:59 
GeneralTCP/IP questions Pin
Tom Wright29-Oct-02 5:52
Tom Wright29-Oct-02 5:52 
GeneralRe: TCP/IP questions Pin
Anonymous29-Oct-02 6:52
Anonymous29-Oct-02 6:52 
GeneralRe: TCP/IP questions Pin
User 988529-Oct-02 6:52
User 988529-Oct-02 6:52 
GeneralRichEdit Text Color (win32api) Pin
zeki yugnak29-Oct-02 5:51
zeki yugnak29-Oct-02 5:51 
hi..
I want to change text color of RichEdit but this code didnt work.
Eek! | :eek:

void ChangeColor(HWND hWnd)
{
CHOOSECOLOR cc;
static COLORREF acrCustClr[16];
COLORREF cResult;
CHARFORMAT2 cf;

cc.lStructSize=sizeof(cc);
cc.hwndOwner=hWnd;
cc.rgbResult=cResult;
cc.lpCustColors = (LPDWORD) acrCustClr;
cc.Flags=CC_FULLOPEN|CC_RGBINIT|CC_ANYCOLOR;

if(ChooseColor(&cc)==IDOK)
{

cf.crTextColor=cc.rgbResult;


SendDlgItemMessage(hWnd,IDC_REDIT1,EM_SETCHARFORMAT,SCF_ALL,(LPARAM)&cf);


}

}
QuestionHow to insert data to the top of exist text file? Pin
ooosawaddee329-Oct-02 5:40
ooosawaddee329-Oct-02 5:40 
AnswerRe: How to insert data to the top of exist text file? Pin
Roger Allen29-Oct-02 5:44
Roger Allen29-Oct-02 5:44 
Generalconsole app Pin
User 988529-Oct-02 5:34
User 988529-Oct-02 5:34 
GeneralRe: console app Pin
ian mariano29-Oct-02 8:25
ian mariano29-Oct-02 8:25 
GeneralMP3 Where to start Pin
nlecren29-Oct-02 4:42
nlecren29-Oct-02 4:42 
GeneralRe: MP3 Where to start Pin
nlecren29-Oct-02 5:06
nlecren29-Oct-02 5:06 
GeneralRe: MP3 Where to start Pin
Stephane Rodriguez.29-Oct-02 6:01
Stephane Rodriguez.29-Oct-02 6:01 
GeneralRe: MP3 Where to start Pin
nlecren29-Oct-02 7:20
nlecren29-Oct-02 7:20 
GeneralRe: MP3 Where to start Pin
ian mariano29-Oct-02 8:31
ian mariano29-Oct-02 8:31 
QuestionHow do I... Pin
Jason Troitsky (was Hattingh)29-Oct-02 3:45
Jason Troitsky (was Hattingh)29-Oct-02 3:45 
AnswerRe: How do I... Pin
Nitron29-Oct-02 4:15
Nitron29-Oct-02 4:15 
GeneralRe: How do I... Pin
Jason Troitsky (was Hattingh)29-Oct-02 4:22
Jason Troitsky (was Hattingh)29-Oct-02 4:22 
GeneralRe: How do I... Pin
Nitron29-Oct-02 4:35
Nitron29-Oct-02 4:35 
GeneralPS Pin
Nitron29-Oct-02 4:39
Nitron29-Oct-02 4:39 
GeneralDLLs and XP themes... Pin
LukeV29-Oct-02 2:54
LukeV29-Oct-02 2:54 
GeneralRe: DLLs and XP themes... Pin
Michael Dunn29-Oct-02 4:50
sitebuilderMichael Dunn29-Oct-02 4:50 
GeneralRe: DLLs and XP themes... Pin
LukeV29-Oct-02 4:54
LukeV29-Oct-02 4:54 

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.