Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

humais

@humais
About
Posts
33
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How get & set pixel in WPFapplication?
    H humais

    how i can set & get pixel of image in wpf application(C#)?

    WPF csharp wpf question

  • How i can set IDENTITY_INSERT to ON in "LINQ to SQL" ?
    H humais

    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:

    ASP.NET csharp question asp-net database linq

  • How i can set IDENTITY_INSERT to ON in "LINQ to SQL" ?
    H humais

    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? :^)

    ASP.NET csharp question asp-net database linq

  • How i can change the width of scrollbar in MFC SDI application? [Moved]
    H humais

    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

    C / C++ / MFC c++ question

  • any alternate of IIS 7.0??
    H humais

    Yes i'm trying to connect with the local host but itz not connecting... :^)

    ASP.NET sysadmin windows-admin question

  • any alternate of IIS 7.0??
    H humais

    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:

    ASP.NET sysadmin windows-admin question

  • any alternate of IIS 7.0??
    H humais

    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:

    ASP.NET sysadmin windows-admin question

  • How i can save DC(CPaintDC) or CDC in CBitmap?
    H humais

    thankx GOD . . . atlast i found the solution... :) thank you every one for helping me..

    C / C++ / MFC question

  • How i can save DC(CPaintDC) or CDC in CBitmap?
    H humais

    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:

    C / C++ / MFC question

  • Problem in attaching CBitmap to CImage's Attach()
    H humais

    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??

    C / C++ / MFC help

  • Problem in attaching CBitmap to CImage's Attach()
    H humais

    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?

    C / C++ / MFC help

  • Problem in attaching CBitmap to CImage's Attach()
    H humais

    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...

    C / C++ / MFC help

  • How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC
    H humais

    i want to know the mistakes in my code... CPallini plzz tell me how i can do that??

    C / C++ / MFC c++

  • How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC
    H humais

    Here 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

    C / C++ / MFC c++

  • How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC
    H humais

    plzzz tell me the coding plzzzz :sigh:

    C / C++ / MFC c++

  • How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC
    H humais

    i draw some shapes on Cimage & i want to save (shape + CImage)...so how can i do this?? :confused:

    C / C++ / MFC c++

  • How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC
    H humais

    i'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:

    C / C++ / MFC c++

  • How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC
    H humais

    How i can save DC in Hbitmap...so i can use in Cimage to save shapes(Rectangles,Circles) on image...

    C / C++ / MFC c++

  • How i can Save Cimage file+ shapes & text on it?
    H humais

    Runtime error: tht hbm is not initialized....?

    C / C++ / MFC c++ question

  • How i can Save Cimage file+ shapes & text on it?
    H humais

    what is hbm? plz write full code in detail... :confused:

    C / C++ / MFC c++ question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups