Click here to Skip to main content
15,912,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Main Arguments Pin
Mark Salsbery8-May-07 13:45
Mark Salsbery8-May-07 13:45 
AnswerRe: Main Arguments Pin
ThatsAlok16-May-07 20:26
ThatsAlok16-May-07 20:26 
QuestionC#.net to C++ (simple code conversion) ? Pin
Software_Specialist8-May-07 8:39
Software_Specialist8-May-07 8:39 
AnswerRe: C#.net to C++ (simple code conversion) ? Pin
Hamid_RT8-May-07 9:02
Hamid_RT8-May-07 9:02 
GeneralRe: C#.net to C++ (simple code conversion) ? Pin
Software_Specialist8-May-07 9:09
Software_Specialist8-May-07 9:09 
GeneralRe: C#.net to C++ (simple code conversion) ? Pin
Hamid_RT8-May-07 9:21
Hamid_RT8-May-07 9:21 
AnswerRe: C#.net to C++ (simple code conversion) ? Pin
Mark Salsbery8-May-07 9:22
Mark Salsbery8-May-07 9:22 
GeneralRe: C#.net to C++ (simple code conversion) ? Pin
Software_Specialist8-May-07 10:09
Software_Specialist8-May-07 10:09 
Hi thanks a lot
But i think simple use of filter could solve this out. Well what i did now is
<br />
OpenPictureDialog1->Title= "Open File: ";<br />
OpenPictureDialog1->Filter = "Bitmap files (*.bmp)|*.BMP";<br />
if (OpenPictureDialog1->Execute())<br />
bmpFileEdit->Text=OpenPictureDialog1->FileName;<br />
return; 


So this gives me only bitmap file to select. So its fine the only thing now left is function
SetImage(fileName) function i.e.
<br />
private void SetImage(String fileName){<br />
picImage.Image = new Bitmap(fileName);<br />
<br />
btnHide.Enabled = btnExtract.Enabled = true;<br />
btnSaveBitmap.Enabled = false;<br />
			<br />
int index = fileName.LastIndexOf("\\")+1;<br />
if(index > 0){ fileName = fileName.Substring(index); }<br />
grpPicture.Text = "Carrier Bitmap ("+fileName+")";<br />
}


Ill try to convert this aswell. Well and yeh i said General C++ i meant no VC++. As i am using Borland. So it doesnt support the option you gave.

Can any one give me any tips as i have got this VC++ pure win32 application and C#.net application n i want to convert it to General Borland C++. I know i have to do it manually but still any good pts i should follow.

Thanks a lot for your time...
SS
GeneralRe: C#.net to C++ (simple code conversion) ? Pin
Mark Salsbery8-May-07 10:37
Mark Salsbery8-May-07 10:37 
Questioncancel dialog Pin
deeps_cute8-May-07 7:52
deeps_cute8-May-07 7:52 
AnswerRe: cancel dialog Pin
Cedric Moonen8-May-07 7:53
Cedric Moonen8-May-07 7:53 
GeneralRe: cancel dialog Pin
deeps_cute8-May-07 7:58
deeps_cute8-May-07 7:58 
QuestionRe: cancel dialog Pin
David Crow8-May-07 8:11
David Crow8-May-07 8:11 
GeneralRe: cancel dialog Pin
Hamid_RT8-May-07 8:52
Hamid_RT8-May-07 8:52 
AnswerRe: cancel dialog Pin
KellyR8-May-07 10:56
KellyR8-May-07 10:56 
QuestionCDialog with CToolbar Pin
Andy H8-May-07 6:09
Andy H8-May-07 6:09 
AnswerRe: CDialog with CToolbar Pin
Hans Dietrich8-May-07 6:54
mentorHans Dietrich8-May-07 6:54 
GeneralRe: CDialog with CToolbar Pin
Andy H8-May-07 7:37
Andy H8-May-07 7:37 
QuestionRe: CDialog with CToolbar Pin
Mark Salsbery8-May-07 8:32
Mark Salsbery8-May-07 8:32 
AnswerRe: CDialog with CToolbar Pin
KellyR8-May-07 11:01
KellyR8-May-07 11:01 
QuestionTrouble refresh a UI window Dialog / MDI Pin
ScotDolan8-May-07 5:33
ScotDolan8-May-07 5:33 
AnswerRe: Trouble refresh a UI window Dialog / MDI Pin
Hans Dietrich8-May-07 6:15
mentorHans Dietrich8-May-07 6:15 
GeneralRe: Trouble refresh a UI window Dialog / MDI Pin
ScotDolan8-May-07 6:59
ScotDolan8-May-07 6:59 
GeneralRe: Trouble refresh a UI window Dialog / MDI Pin
Hans Dietrich8-May-07 7:10
mentorHans Dietrich8-May-07 7:10 
QuestionDepends error Pin
tom groezer8-May-07 5:29
tom groezer8-May-07 5:29 

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.