Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: calc use for open calculator what can i use for open clock from ShellExecute. Pin
Naveen25-Sep-09 5:04
Naveen25-Sep-09 5:04 
QuestionSemantics and naming conventions in MFC? Pin
Vaclav_24-Sep-09 19:46
Vaclav_24-Sep-09 19:46 
AnswerRe: Semantics and naming conventions in MFC? Pin
CPallini24-Sep-09 20:55
mveCPallini24-Sep-09 20:55 
AnswerRe: Semantics and naming conventions in MFC? Pin
Richard MacCutchan24-Sep-09 22:50
mveRichard MacCutchan24-Sep-09 22:50 
QuestionDialog Box Pin
hrishiS24-Sep-09 19:33
hrishiS24-Sep-09 19:33 
AnswerRe: Dialog Box Pin
«_Superman_»24-Sep-09 20:47
professional«_Superman_»24-Sep-09 20:47 
QuestionRe: Dialog Box Pin
David Crow25-Sep-09 3:37
David Crow25-Sep-09 3:37 
QuestionHow can i concate two bitmap to produce third combine bitmap Pin
Game-point24-Sep-09 19:16
Game-point24-Sep-09 19:16 
my question is

How can i concate two bitmap to produce third combine bitmap ?

here is my code:


// Initilize the Image one<br />
	CImage __Imageone;<br />
	__Imageone.Load (L"D:\\2009\\testConsult.tif");<br />
<br />
	int nWidthone = __Imageone.GetWidth();<br />
	int nHeightone = __Imageone.GetHeight();<br />
<br />
	COLORREF __colorefone;<br />
<br />
	for (int i = 0 ; i < nWidthone ; i++)<br />
		for (int j = 0; j < nHeightone ; j++)<br />
			__colorefone = __Imageone.GetPixel (i,j);<br />
<br />


// Initialize the SecondImage<br />
<br />
	CImage __Imagetwo;<br />
	__Imagetwo.Load(L"D:\\2009\\Header.TIF");	<br />
	int nWidthtwo = __Imagetwo.GetWidth();<br />
	int nHeighttwo = __Imagetwo.GetHeight();<br />
	COLORREF __colortwo;<br />
	for (int x = 0 ; x < nWidthtwo ; x++)<br />
		for (int y = 0 ; y < nHeighttwo ; y++)<br />
			__colortwo = __Imagetwo.GetPixel(x,y);<br />
<br />


how to combine these two into one ??



Thanks !!!!
AnswerRe: How can i concate two bitmap to produce third combine bitmap Pin
CPallini24-Sep-09 20:54
mveCPallini24-Sep-09 20:54 
GeneralRe: How can i concate two bitmap to produce third combine bitmap Pin
Game-point24-Sep-09 21:01
Game-point24-Sep-09 21:01 
Questionvoid Pin
Benjamin Bruno24-Sep-09 18:16
Benjamin Bruno24-Sep-09 18:16 
AnswerRe: void Pin
CPallini24-Sep-09 20:32
mveCPallini24-Sep-09 20:32 
AnswerRe: void Pin
Stuart Dootson24-Sep-09 21:02
professionalStuart Dootson24-Sep-09 21:02 
AnswerRe: void Pin
markkuk25-Sep-09 0:11
markkuk25-Sep-09 0:11 
QuestionCListCtrl::FindItem crashes Pin
Maxwell Chen24-Sep-09 18:03
Maxwell Chen24-Sep-09 18:03 
AnswerRe: CListCtrl::FindItem crashes Pin
Naveen24-Sep-09 19:39
Naveen24-Sep-09 19:39 
GeneralRe: CListCtrl::FindItem crashes [modified] Pin
Maxwell Chen24-Sep-09 20:02
Maxwell Chen24-Sep-09 20:02 
GeneralRe: CListCtrl::FindItem crashes Pin
Naveen24-Sep-09 20:08
Naveen24-Sep-09 20:08 
GeneralRe: CListCtrl::FindItem crashes Pin
Maxwell Chen24-Sep-09 20:38
Maxwell Chen24-Sep-09 20:38 
GeneralRe: CListCtrl::FindItem crashes Pin
Naveen24-Sep-09 21:48
Naveen24-Sep-09 21:48 
GeneralRe: CListCtrl::FindItem crashes Pin
Maxwell Chen24-Sep-09 22:12
Maxwell Chen24-Sep-09 22:12 
GeneralRe: CListCtrl::FindItem crashes Pin
Naveen24-Sep-09 22:32
Naveen24-Sep-09 22:32 
GeneralRe: CListCtrl::FindItem crashes Pin
Maxwell Chen24-Sep-09 22:48
Maxwell Chen24-Sep-09 22:48 
QuestionHow to judge if left button down in OnMouseMove while it is a SDI derived from CListView? Pin
Syouki_kou24-Sep-09 17:30
Syouki_kou24-Sep-09 17:30 
AnswerRe: How to judge if left button down in OnMouseMove while it is a SDI derived from CListView? Pin
babu_mcet4-Apr-11 23:38
babu_mcet4-Apr-11 23:38 

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.