Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Explorer Selected File - how to retrieve from ToolBar (ToolBand) Pin
sas222223-Jun-04 3:33
sas222223-Jun-04 3:33 
GeneralVC++ ActiveX Pin
Wender Oliveira18-Jun-04 7:38
Wender Oliveira18-Jun-04 7:38 
GeneralRe: VC++ ActiveX Pin
TimWallace18-Jun-04 9:14
TimWallace18-Jun-04 9:14 
GeneralRe: VC++ ActiveX Pin
Wender Oliveira18-Jun-04 9:19
Wender Oliveira18-Jun-04 9:19 
GeneralRe: VC++ ActiveX Pin
Nick Parker18-Jun-04 11:56
protectorNick Parker18-Jun-04 11:56 
GeneralDirectx and non-rectangular dialogs Pin
Xavi Temporal18-Jun-04 7:09
Xavi Temporal18-Jun-04 7:09 
Generalstd::string strange error Pin
Scozturk18-Jun-04 6:49
professionalScozturk18-Jun-04 6:49 
GeneralRe: std::string strange error Pin
Scozturk18-Jun-04 6:56
professionalScozturk18-Jun-04 6:56 
...OK I found my error...
The error was in the way I was getting the value from the edit box.
I should have done this:
<br />
...<br />
string mycode;<br />
char values[MAX_PATH];<br />
...<br />
mycode.append("Hello the value you append is: ");<br />
int len = GetWindowTextLength(GetDlgItem(hwnd, IDC_VALUE));<br />
if(len > 0)<br />
{<br />
GetDlgItemText(hwnd, IDC_VALUE, values, len + 1);<br />
} <br />
mycode.append(values);<br />
mycode.append(" is it right?");<br />
//<br />
SetDlgItemText(hwnd,IDC_CODE,mycode.data());<br />

...I told I was a beginner... Big Grin | :-D

Well... I am a beginner ...
GeneralRe: std::string strange error Pin
James R. Twine18-Jun-04 11:06
James R. Twine18-Jun-04 11:06 
GeneralSetting the print title column Pin
mcgahanfl18-Jun-04 5:43
mcgahanfl18-Jun-04 5:43 
GeneralRe: Setting the print title column Pin
Johan Rosengren18-Jun-04 5:53
Johan Rosengren18-Jun-04 5:53 
Generalstd::string and reserve question ... Pin
Maximilien18-Jun-04 5:24
Maximilien18-Jun-04 5:24 
GeneralRe: std::string and reserve question ... Pin
palbano18-Jun-04 6:00
palbano18-Jun-04 6:00 
GeneralRe: std::string and reserve question ... Pin
Maximilien18-Jun-04 8:24
Maximilien18-Jun-04 8:24 
GeneralRe: std::string and reserve question ... Pin
James R. Twine18-Jun-04 11:20
James R. Twine18-Jun-04 11:20 
GeneralExperts help with Threads with Notifications Pin
18-Jun-04 4:50
suss18-Jun-04 4:50 
GeneralRe: Experts help with Threads with Notifications Pin
Blake Miller18-Jun-04 5:47
Blake Miller18-Jun-04 5:47 
GeneralRe: Experts help with Threads with Notifications Pin
Member 115017621-Jun-04 1:29
Member 115017621-Jun-04 1:29 
QuestionHow can I create GraphicsPath vector and its iterator ? Pin
Gem18-Jun-04 4:41
Gem18-Jun-04 4:41 
AnswerRe: How can I create GraphicsPath vector and its iterator ? Pin
Gem18-Jun-04 4:45
Gem18-Jun-04 4:45 
GeneralMAPI and outlook Pin
kanetheterrible118-Jun-04 4:35
kanetheterrible118-Jun-04 4:35 
GeneralRe: MAPI and outlook Pin
Michael P Butler18-Jun-04 4:52
Michael P Butler18-Jun-04 4:52 
GeneralRe: MAPI and outlook Pin
kanetheterrible118-Jun-04 6:39
kanetheterrible118-Jun-04 6:39 
GeneralDoModal and window position Pin
Anonymous18-Jun-04 4:22
Anonymous18-Jun-04 4:22 
GeneralRe: DoModal and window position Pin
jmkhael18-Jun-04 4:25
jmkhael18-Jun-04 4:25 

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.