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
K

ksrameshkanth

@ksrameshkanth
About
Posts
18
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Learning Socket Programming
    K ksrameshkanth

    Hi, I like to learn windows socket programming concept with hands on. Can any one suggest where i can get help? Regards, Rameshkanth

    C / C++ / MFC help question learning

  • CListCtrl is not display the information in 64-bit windows OS
    K ksrameshkanth

    Hi, I am customizing list control and building with x64 configuration, then testing on 64 bit windows xp professional edition listing of item is missing( Just blank). If any one come across this problem, can help me?

    C / C++ / MFC help testing beta-testing question workspace

  • Icon background is black in 16bit color quality - vc++(vs2005)
    K ksrameshkanth

    Hi, I am working on propertysheet application wizard, to change my application icon i have change 16x16, 32x32, 48x48 of 256 colors, this is working fine. when I change my settings(Right Clik on Desktop->properties->settings->color quality) to "Medium(16bit)background becomes block.Can anyone help me for this?

    C / C++ / MFC c++ help question

  • Detect FIREWIRE Device
    K ksrameshkanth

    Hi, I am not sure about FIREWIRE, But generally device detect can be found by using the message ON_WM_DEVICECHANGE(). Also refer the following link http://www.codeproject.com/system/HwDetect.asp Regards, Rameshkanth BORN TO WIN

    C / C++ / MFC

  • why have line?
    K ksrameshkanth

    Hi Alan, The code is working fine for me, I am using VS2005. Regards, Rameshkanth

    C / C++ / MFC question winforms com graphics help

  • USB device message detector
    K ksrameshkanth

    Hi, I think you can handle ON_WM_DEVICECHANGE(). Also refer the following link http://www.codeproject.com/system/HwDetect.asp Regards, Rameshkanth

    C / C++ / MFC c++ csharp design tutorial question

  • Repainting problem On Minimize and Close button
    K ksrameshkanth

    Hi, I have property sheet wizard application and I am repaining its title bar and creating new minimize and close button on title bar. The following codes are doing things ok. but when i try to right click on task bar button( applications task bar button - close/minimize application from system menu) minimize and close button is not repinted as expected. The codes are void CSamplePaintSheet::OnNcPaint() { CWindowDC dc( this ); ModifyStyle(NULL,WS_SYSMENU|WS_MINIMIZEBOX); Default(); ReDrawCaptionBar( &dc ); ReleaseDC( &dc ); } BOOL CSamplePaintSheet::OnNcActivate( BOOL bActivate ) { OnNcPaint(); return TRUE; } void CSamplePaintSheet::ReDrawCaptionBar(CDC *pDC ) { CRect rc; this->GetWindowRect( rc ); ScreenToClient( rc ); rcCap = rc; rcCap.bottom = ::GetSystemMetrics( SM_CYCAPTION ) + ::GetSystemMetrics( SM_CYFIXEDFRAME ); rcCap.right += ::GetSystemMetrics( SM_CXFIXEDFRAME ); CString szTitle(_T("Sample Paint Application")); SetWindowTextW( szTitle ); CBrush brSolid( CLR_GRAY ); pDC->FillRect( &rcCap, &brSolid ); CRect rcLeft( rc ); rcLeft.top = rcCap.bottom; rcLeft.right = ::GetSystemMetrics( SM_CXFIXEDFRAME ); rcLeft.bottom = rc.Height(); pDC->FillRect( &rcLeft, &brSolid ); CRect rcRight( rc ); rcRight.left = rcCap.right - ::GetSystemMetrics( SM_CXFIXEDFRAME ); rcRight.top = rcLeft.top; rcRight.right = rcCap.right; rcRight.bottom = rcLeft.bottom; pDC->FillRect( &rcRight, &brSolid ); CRect rcBottom( rc ); rcBottom.left = rcLeft.left; rcBottom.top = rcRight.bottom - ::GetSystemMetrics(SM_CYFIXEDFRAME) - nBottomBorderHeight; rcBottom.right = rc.Width(); rcBottom.bottom = rcRight.bottom; pDC->FillRect( &rcBottom, &brSolid ); CSize sizeText = pDC->GetTextExtent( szTitle ); int nCy = HIWORD( ::GetDialogBaseUnits() ); rcText = rcCap; rcText.left = ::GetSystemMetrics( SM_CYFIXEDFRAME ); rcText.right = rcText.left + ( sizeText.cx ); rcText.top = (rcCap.bottom - (nCy + 1))/2; rcText.bottom = rcText.top + nCy + 1; pDC->SetBkMode( TRANSPARENT ); pDC->DrawText( szTitle, rcText, DT_LEFT | DT_SINGLELINE ); rcBtClose = rc; rcBtClose.top = ::GetSystemMetrics( SM_CYFIXEDFRAME )+ 3; rcBtClose.right = rcBottom.right - ::GetSystemMetrics( SM_CXFIXEDFRAME ); rcBtClose.left = rcBtClose.right - ::GetSystemMetrics( SM

    C / C++ / MFC dotnet help

  • Accessing CView from CDialog MFC???
    K ksrameshkanth

    bob16972's idea is good, at the same time u can have "CSliderDialog dlg;" is the member of CTestsliderView class.so that across the view u can access ur dialog very easily.

    C / C++ / MFC c++ tutorial question learning

  • [Urgent] How to create WS_SYSMENU
    K ksrameshkanth

    I am creating propertysheet wizard application with customized title bar color. To customize i have removed system menu by using ModifyStyle( WS_SYSMENU, 0). Now again i want to have WS_SYSMenu. Can any one help me? Thanks, Rameshkanth

    C / C++ / MFC help tutorial question

  • [Urgent]Minimize window clicking task bar button [modified]
    K ksrameshkanth

    I have minimize(-) button and close(x) button in caption bar. Here i have overidden those default button and created new one. Clicking on minimize,close button my application working fine. Even doing well on system menu also. when i click on task bar button it is not minimizing.

    C / C++ / MFC help question

  • [Urgent]Minimize window clicking task bar button [modified]
    K ksrameshkanth

    Hi, I am working on property sheet wizard application, I have over ridden all non client area messages to customize title bar color. Now my problem once execute exe i am not able to minimize application by clicking its task bar button. Can anyone help me come out from this problem? Thanks, Rameshkanth -- modified at 10:10 Wednesday 4th April, 2007

    C / C++ / MFC help question

  • [urgent]How do i create Lib from Regular DLL
    K ksrameshkanth

    Hi, my exe is single when i distribute to customer, So i don't want to use dll. How do i convert my dll into lib. Regards, Rameshkanth

    C / C++ / MFC

  • Localisation/Internationalization from Header file
    K ksrameshkanth

    Hi, Actually i have dialog based application that need to support more than one language.All the language text available in header file based on the language selection text can be loaded into dialogs and its controls(working fine for French). when i do the same with Japanese only i could see only consecutive squares. Any one suggest how do i over come this problem? Thanks, Rameshkanth

    C / C++ / MFC

  • Basic Question
    K ksrameshkanth

    Other way is.... CWnd *pWnd = GetDlgItem( IDC_BUTTON/* Ur Button ID */); pWnd->EnableWindow( FALSE );//Disable the button pWnd->EnableWindow( TRUE );//Enable the button

    C / C++ / MFC

  • buttoncontrols-- help me its urgent
    K ksrameshkanth

    I think it may be done by overriding CButton class then need to draw button yourself overriding DrawItem().

    C / C++ / MFC

  • PropertySheet - ON_NOTIFY is not working
    K ksrameshkanth

    Yah you are right. But how do i assure that message comes from so and so control( like ON_NOTIFY)

    C / C++ / MFC

  • PropertySheet - ON_NOTIFY is not working
    K ksrameshkanth

    Hi, I have property wizrad application which has customized button(Owner Draw). I am trying to get control notification from those buttons which has focus and hitting enter key. I am handling ON_NOTIFY message on Propertysheet which is parent for those buttons. Even I tried with over writing PreTranslatedMessage(), but it is not working. Can anyone give me a suggestion? Thanks, Rameshkanth

    C / C++ / MFC

  • Disable/Enable newly created caption button
    K ksrameshkanth

    Hi, I am working in property Sheet wizard application. Here I am painting caption bar by own on OnNcPaint() and creating new minimize and close button. At some stage i want to disable/enable minimize and close button in caption bar. Can any one suggest? Regards, Rameshkanth

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