Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Go to end? Pin
Larsson28-Jan-07 7:53
Larsson28-Jan-07 7:53 
AnswerRe: Go to end? Pin
prasad_som28-Jan-07 19:55
prasad_som28-Jan-07 19:55 
GeneralRe: Go to end? Pin
Joan M28-Jan-07 20:22
professionalJoan M28-Jan-07 20:22 
QuestionA question about autorun CD Pin
phap26-Jan-07 22:53
phap26-Jan-07 22:53 
AnswerRe: A question about autorun CD Pin
Blake Miller29-Jan-07 4:13
Blake Miller29-Jan-07 4:13 
QuestionDirectX textures Pin
Waldermort26-Jan-07 22:14
Waldermort26-Jan-07 22:14 
QuestionSimplest way to add tabs to SDI Pin
neilsolent26-Jan-07 22:13
neilsolent26-Jan-07 22:13 
Questionwin32 api edit box issue Pin
asp.netProgrammer26-Jan-07 18:18
asp.netProgrammer26-Jan-07 18:18 
I created a edit box just fine, but when i trying to select the text in it, the application for some reason does not do it, Im not sure what's missing. Here is the part of the code that Im talking about:

LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
#define IDC_MAIN_EDIT 1
#define IDC_SEDIT 2
#define IDC_BUTTON 3
HWND iEdit, rEdit, button;

switch(msg)
{
case WM_COMMAND:
if( wParam == IDC_BUTTON )
{
MessageBox( hwnd, "Button was clicked.", "Notification", MB_OK );
SetDlgItemText(iEdit, IDC_MAIN_EDIT, "testing");
}
break;

case WM_CREATE:
{
iEdit = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", NULL,
WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL |
}
...
}
when the WndProc receives the button message, a message box will appear saying i pressed the button, and the text in the iEdit control is suppose to be set to "testing" right? I really don't know what Im missing.

AnswerRe: win32 api edit box issue Pin
asp.netProgrammer26-Jan-07 18:41
asp.netProgrammer26-Jan-07 18:41 
QuestionCaption (title bar) buttons Pin
Hans Dietrich26-Jan-07 18:04
mentorHans Dietrich26-Jan-07 18:04 
AnswerRe: Caption (title bar) buttons Pin
Dominik Reichl27-Jan-07 6:25
Dominik Reichl27-Jan-07 6:25 
QuestionHow do you fix code that works on everything but the listview you need? Pin
___Charles___26-Jan-07 17:41
___Charles___26-Jan-07 17:41 
AnswerRe: How do you fix code that works on everything but the listview you need? Pin
Mike O'Neill27-Jan-07 12:53
Mike O'Neill27-Jan-07 12:53 
QuestionInvoke another exe from currently running exe Pin
kiranin26-Jan-07 17:36
kiranin26-Jan-07 17:36 
AnswerRe: Invoke another exe from currently running exe Pin
ThatsAlok26-Jan-07 19:32
ThatsAlok26-Jan-07 19:32 
QuestionCOM in VC++ Pin
deeps_cute26-Jan-07 17:02
deeps_cute26-Jan-07 17:02 
QuestionVisual C++ MFC WinSock 2 Reference Pin
Obi Wan 226-Jan-07 13:50
Obi Wan 226-Jan-07 13:50 
AnswerRe: Visual C++ MFC WinSock 2 Reference Pin
Mark Salsbery26-Jan-07 14:03
Mark Salsbery26-Jan-07 14:03 
GeneralRe: Visual C++ MFC WinSock 2 Reference Pin
Obi Wan 227-Jan-07 4:47
Obi Wan 227-Jan-07 4:47 
GeneralRe: Visual C++ MFC WinSock 2 Reference Pin
Mark Salsbery27-Jan-07 7:30
Mark Salsbery27-Jan-07 7:30 
QuestionCListView; getting rid of spurious horizontal scrollbar [modified] Pin
Joe Woodbury26-Jan-07 12:34
professionalJoe Woodbury26-Jan-07 12:34 
AnswerRe: CListView; getting rid of spurious horizontal scrollbar Pin
Ravi Bhavnani26-Jan-07 12:59
professionalRavi Bhavnani26-Jan-07 12:59 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Joe Woodbury26-Jan-07 13:06
professionalJoe Woodbury26-Jan-07 13:06 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Ravi Bhavnani26-Jan-07 13:09
professionalRavi Bhavnani26-Jan-07 13:09 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Joe Woodbury26-Jan-07 13:23
professionalJoe Woodbury26-Jan-07 13: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.