how i can set & get pixel of image in wpf application(C#)?
humais
Posts
-
How get & set pixel in WPFapplication? -
How i can set IDENTITY_INSERT to ON in "LINQ to SQL" ?i'm using BlogID as primary key in Blog table & as a foreign key in Comment table.i'm trying to save BlogID manually in comment table from Query String in comment page.Tell me how i can do it? :confused:
-
How i can set IDENTITY_INSERT to ON in "LINQ to SQL" ?i'm getting an error that
"Cannot insert explicit value for identity column in table 'Comment' when IDENTITY_INSERT is set to OFF"
i'm using "LINQ to SQL" in ASP.NET so how can i set IDENTITY_INSERT to ON? :^) -
How i can change the width of scrollbar in MFC SDI application? [Moved]How i can change the width of scrollbar in MFC SDI application? also tell me that which functions i have to use in Onsize(); ?? :confused:
modified on Friday, August 20, 2010 12:30 PM
-
any alternate of IIS 7.0??Yes i'm trying to connect with the local host but itz not connecting... :^)
-
any alternate of IIS 7.0??i try both servers but Browsers showing an error tht
Failed to establish a Connection to the server...
i try many servers but itz not connecting.... it there any propeties which i have to set?? :confused: -
any alternate of IIS 7.0??i have windows vista home edition & it is not supporting IIS 7.0....is there any other web server in which i can run my ASP pages?? :confused:
-
How i can save DC(CPaintDC) or CDC in CBitmap?thankx GOD . . . atlast i found the solution... :) thank you every one for helping me..
-
How i can save DC(CPaintDC) or CDC in CBitmap?How i can save DC or CDC in CBitmap?? i'm using following code to save CPaintDC (dc) into CDC_(cdc)_ in OnPaint() function...
cdc=GetWindowDC();
cdc->BitBlt(100,100,600,600,cdc,0,0,SRCCOPY);& now i want to save CDC in CBitmap file...so i can use it in CImage attach function....i have to use CreateCompatableBitmap function or CreateDIBSection Function or anything else...?? :confused:
-
Problem in attaching CBitmap to CImage's Attach()i'm using save function,thats why i declare CImage & CBitmap in CChildView class..tell me now where i have to put
img.Attach(bmpCap.Detach());
i mean in save function or in OnPaint function??
-
Problem in attaching CBitmap to CImage's Attach()i'm drawing shapes on CPaintDC dc....then i want to attach those shapes to img...so i can save them... can u please tell me proper steps?
-
Problem in attaching CBitmap to CImage's Attach()i'm trying to attach CBitmap to CImage,but itz not working. /* CBitmap bmpCap; CBitmap *pBmpOld; CImage img; these three r declared in CChildView class */ //following code is in OnPaint() function...
CRect rect;
CDC dcMem;
dc.TextOutA(20,20,"Humais");
GetClientRect(&rect);
bmpCap.CreateCompatibleBitmap(&dc, rect.Width(), rect.Height());
pBmpOld=dc.SelectObject(&bmpCap);i'm getting runtime error...
-
How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFCi want to know the mistakes in my code... CPallini plzz tell me how i can do that??
-
How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFCHere is the code... //hbm & image are decleared in ChildView class but not initialized in any function...if i have to initialized them ,then how i can initialized them??
HBitmap hbm;CImage image;
//the following code is in OnPaint(); function
CDC *mdc = GetDC ();
HGDIOBJ tmp = mdc->SelectObject(hbm);
mdc->TextOutA (50, 50, Text("Testing"));
image.Attach (hbm);also tell me tht where i have to put image.Atach();function..i mean in OnPaint(); or in Save function?? :confused: //I'm drawing different shapes in OnPaint(); function using
CPaintDC dc(this);//Like dc.Rectangle(&rect);
& i want to attach it with CImage so i can save them... It is a SDI MFC non View/Doc arch. application...Plz tell me in Detail
-
How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFCplzzz tell me the coding plzzzz :sigh:
-
How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFCi draw some shapes on Cimage & i want to save (shape + CImage)...so how can i do this?? :confused:
-
How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFCi'm not trying to save dc......i'm trying to attach HBITMAP in CIMAGE...i also want to know tht how i can save shapes in Hbitmap??? so i can save jpg through CIMAGE... :confused:
-
How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFCHow i can save DC in Hbitmap...so i can use in Cimage to save shapes(Rectangles,Circles) on image...
-
How i can Save Cimage file+ shapes & text on it?Runtime error: tht hbm is not initialized....?
-
How i can Save Cimage file+ shapes & text on it?what is hbm? plz write full code in detail... :confused: