Click here to Skip to main content
16,016,962 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNeed help in template Pin
Subrat 470826611-Nov-08 22:44
Subrat 470826611-Nov-08 22:44 
AnswerRe: Need help in template Pin
sashoalm11-Nov-08 23:15
sashoalm11-Nov-08 23:15 
GeneralRe: Need help in template Pin
Subrat 470826611-Nov-08 23:34
Subrat 470826611-Nov-08 23:34 
GeneralRe: Need help in template Pin
sashoalm12-Nov-08 1:58
sashoalm12-Nov-08 1:58 
Questiondebugging problem Pin
Jürgen Jung11-Nov-08 22:10
Jürgen Jung11-Nov-08 22:10 
QuestionHow to change radio button style from Left ot Rightwhile the program is running ? Pin
ido00011-Nov-08 21:03
ido00011-Nov-08 21:03 
AnswerRe: How to change radio button style from Left ot Rightwhile the program is running ? Pin
KarstenK11-Nov-08 21:58
mveKarstenK11-Nov-08 21:58 
AnswerRe: How to change radio button style from Left ot Rightwhile the program is running ? Pin
CPallini11-Nov-08 22:07
mveCPallini11-Nov-08 22:07 
ido000 wrote:
Any idea ?

Yes,
HWND hWndRadio = ::GetDlgItem(this->m_hWnd, IDC_RADIO1);
LONG lStyle = GetWindowLong(hWndRadio, GWL_STYLE);
lStyle |=  BS_LEFTTEXT;
SetWindowLong(hWndRadio, GWL_STYLE, lStyle);
::InvalidateRect(hWndRadio, NULL, TRUE);
::UpdateWindow(hWndRadio);


Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

JokeRe: How to change radio button style from Left ot Rightwhile the program is running ? Pin
Hamid_RT12-Nov-08 6:01
Hamid_RT12-Nov-08 6:01 
QuestionHow to limit cin to string? Pin
hanlei000000000911-Nov-08 19:33
hanlei000000000911-Nov-08 19:33 
AnswerRe: How to limit cin to string? Pin
_AnsHUMAN_ 11-Nov-08 19:35
_AnsHUMAN_ 11-Nov-08 19:35 
AnswerRe: How to limit cin to string? Pin
ThatsAlok11-Nov-08 20:52
ThatsAlok11-Nov-08 20:52 
AnswerRe: How to limit cin to string? Pin
Rajkumar R11-Nov-08 21:45
Rajkumar R11-Nov-08 21:45 
QuestionRe: How to limit cin to string? Pin
David Crow12-Nov-08 3:11
David Crow12-Nov-08 3:11 
QuestionImport file content Pin
john563211-Nov-08 19:11
john563211-Nov-08 19:11 
AnswerRe: Import file content Pin
john563211-Nov-08 23:26
john563211-Nov-08 23:26 
AnswerRe: Import file content Pin
42ka112-Nov-08 2:13
42ka112-Nov-08 2:13 
AnswerRe: Import file content Pin
David Crow12-Nov-08 3:14
David Crow12-Nov-08 3:14 
QuestionFile Path from handle Pin
revanth198511-Nov-08 18:48
revanth198511-Nov-08 18:48 
AnswerRe: File Path from handle Pin
ThatsAlok11-Nov-08 20:57
ThatsAlok11-Nov-08 20:57 
AnswerRe: File Path from handle Pin
Randor 11-Nov-08 22:47
professional Randor 11-Nov-08 22:47 
GeneralRe: File Path from handle Pin
revanth198511-Nov-08 23:17
revanth198511-Nov-08 23:17 
GeneralRe: File Path from handle Pin
Randor 11-Nov-08 23:31
professional Randor 11-Nov-08 23:31 
GeneralRe: File Path from handle Pin
revanth198511-Nov-08 23:43
revanth198511-Nov-08 23:43 
GeneralRe: File Path from handle Pin
SRKSHOME12-Nov-08 0:47
SRKSHOME12-Nov-08 0:47 

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.