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
A

ashwin20

@ashwin20
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • radio buttons and check boxes in vc++
    A ashwin20

    Hi.. Try using manifest file

    C / C++ / MFC c++ com

  • Minimizing a dialog box
    A ashwin20

    :)Hi Mandira, I was working around your problem. I have tried doing it using WM_SIZE message..but am not able to get the exact results. then i tried doing it using MoveWindow function void CMinMaxDlgDlg::OnButtonMaximize() { // TODO: Add your control notification handler code here MAX CRect rect; CWnd* pWnd = GetDesktopWindow(); pWnd->GetClientRect(rect); MoveWindow(0,0,rect.Width(), rect.Height(),TRUE); } this code will make ur dialog box size same as that of desktop window now if u want to restore it to the original state then u will have to store the original length, width and start x and y coordinates of dialog box. thn handle it in OnButtonResize() function likt this OnButtonResize() { MoveWindow(startx, starty , initialwidth, initialHeight, TRUE); } but am not able to minize it completely Let me know if this helps you ! Ashwin

    C / C++ / MFC question c++

  • help on redraw CView ?
    A ashwin20

    i just tried this code..i didnt put any of WM_PAINT or WM_ERASEBKGROUD but still it works fine ///////////////////////////////////////////////////////////////////////////// // CTesttestdeleteView drawing void CTesttestdeleteView::OnDraw(CDC* pDC) { TesttestdeleteDoc* pDoc = GetDocument(); ASSERT_VALID(pDoc); // TODO: add draw code for native data here CBitmap bitmap; bitmap.LoadBitmap(IDB_BITMAP1); CDC memDc; memDc.CreateCompatibleDC(pDC); memDc.SelectObject(&bitmap); pDC->BitBlt(10,10,50,50,&memDc,0,0,SRCCOPY); } ths workd absolutely fine :)

    C / C++ / MFC help question

  • help on redraw CView ?
    A ashwin20

    Try using Invalidate(TRUE); Ash

    C / C++ / MFC help question

  • Rotating a MetaFile
    A ashwin20

    Hi All, i am developing an applicarion in which a user can select any drawing entity and can translate it to any positin he wants.. I am using meta files for doing this.. i know how to translate it on the context.. but can anyone suggest me any method or procedure with which i can rotate it?? Can u suggest any link to page which illustrate this?? Ashwin

    C / C++ / MFC graphics tutorial 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