Click here to Skip to main content
15,896,727 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDIB built by extracting 3 channels as RGB from multiband tiff is drawn wiredly in view Pin
jianzhuhuai18-Nov-09 16:12
jianzhuhuai18-Nov-09 16:12 
AnswerRe: DIB built by extracting 3 channels as RGB from multiband tiff is drawn wiredly in view Pin
Chris Losinger18-Nov-09 17:11
professionalChris Losinger18-Nov-09 17:11 
QuestionHow to prevent same program can open twice in windows? Pin
DevelopmentNoob18-Nov-09 14:24
DevelopmentNoob18-Nov-09 14:24 
AnswerRe: How to prevent same program can open twice in windows? Pin
Randor 18-Nov-09 15:00
professional Randor 18-Nov-09 15:00 
GeneralRe: How to prevent same program can open twice in windows? Pin
DevelopmentNoob19-Nov-09 18:59
DevelopmentNoob19-Nov-09 18:59 
QuestionTrouble building a dynamic string array. Coming from C# Pin
Mark Randel18-Nov-09 10:38
Mark Randel18-Nov-09 10:38 
AnswerRe: Trouble building a dynamic string array. Coming from C# [modified] Pin
«_Superman_»18-Nov-09 10:47
professional«_Superman_»18-Nov-09 10:47 
GeneralRe: Trouble building a dynamic string array. Coming from C# Pin
Mark Randel19-Nov-09 9:32
Mark Randel19-Nov-09 9:32 
Thanks a lot. The vector was the key to what I was looking for. I'm using CString, though. But it all works fine.

My question about adding to the array was concerning changing the size of the array. The vector makes that easy with the push_back command.

Also, returning the value from the function required that I make the type of the return as a vector:

std::vector<CString> CNCLine::LineSplitter(CString LineIn)
{
   std::vector<CString> strOut;
   ... code
   return strOut;
}


Works like clockwork. Thanks for the direction.

____________________________________________________

I'd rather have a frontal lobotomy than a bottle in front of me... Bill W

GeneralRe: Trouble building a dynamic string array. Coming from C# Pin
Mark Randel19-Nov-09 9:34
Mark Randel19-Nov-09 9:34 
GeneralRe: Trouble building a dynamic string array. Coming from C# Pin
«_Superman_»19-Nov-09 9:42
professional«_Superman_»19-Nov-09 9:42 
QuestionHow to launch an application a file on double click in MFC? Pin
Software200718-Nov-09 8:28
Software200718-Nov-09 8:28 
AnswerRe: How to launch an application a file on double click in MFC? Pin
«_Superman_»18-Nov-09 8:31
professional«_Superman_»18-Nov-09 8:31 
AnswerRe: How to launch an application a file on double click in MFC? Pin
Maximilien18-Nov-09 8:52
Maximilien18-Nov-09 8:52 
GeneralRe: How to launch an application a file on double click in MFC? Pin
Software200718-Nov-09 9:29
Software200718-Nov-09 9:29 
QuestionRe: How to launch an application a file on double click in MFC? Pin
«_Superman_»18-Nov-09 9:37
professional«_Superman_»18-Nov-09 9:37 
AnswerRe: How to launch an application a file on double click in MFC? Pin
Software200718-Nov-09 9:48
Software200718-Nov-09 9:48 
GeneralRe: How to launch an application a file on double click in MFC? Pin
«_Superman_»18-Nov-09 9:50
professional«_Superman_»18-Nov-09 9:50 
GeneralRe: How to launch an application a file on double click in MFC? Pin
Software200718-Nov-09 9:53
Software200718-Nov-09 9:53 
AnswerRe: How to launch an application a file on double click in MFC? Pin
LunaticFringe18-Nov-09 10:35
LunaticFringe18-Nov-09 10:35 
AnswerRe: How to launch an application a file on double click in MFC? Pin
David Crow19-Nov-09 3:31
David Crow19-Nov-09 3:31 
QuestionMFC Dialog and PDF Reader refresh issue Pin
kasi1418-Nov-09 7:37
kasi1418-Nov-09 7:37 
QuestionRe: MFC Dialog and PDF Reader refresh issue Pin
22491718-Nov-09 16:51
22491718-Nov-09 16:51 
QuestionIs there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
A&Ms18-Nov-09 7:37
A&Ms18-Nov-09 7:37 
AnswerRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
Luc Pattyn18-Nov-09 7:44
sitebuilderLuc Pattyn18-Nov-09 7:44 
GeneralRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
A&Ms18-Nov-09 8:05
A&Ms18-Nov-09 8:05 

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.