본문 바로가기
VisualStudio.C++.C#/코딩팁,함수활용,단편

MFC. CDialogEx, CDialog

by i.got.it 2016. 9. 22.
 

개요

   

CDialogEx 는 CDialog 에서 파생된 클래스이며, 대화상자 배경색변경, 배경이미지 추가가 간편해진것이므로 기존 CDialog 로 생성하던 것을 CDialogEx 로 생성하는 것은 아무 문제 일으키지 않음.



Name

Description

CDialogEx::SetBackgroundColor

Sets the background color of the dialog box.

CDialogEx::SetBackgroundImage

Sets the background image of the dialog box.



                 

Dialog box images are stored in a resource file. The framework automatically deletes any image that is loaded from the resource file. To programmatically delete the current background image, call the CDialogEx::SetBackgroundImage method or implement an OnDestroy event handler. When you call the CDialogEx::SetBackgroundImage method, pass in an HBITMAP parameter as the image handle. The CDialogEx object will take ownership of the image and delete it if the m_bAutoDestroyBmp flag is TRUE.


 


 


///978.


댓글



 

비트코인




암호화폐       외환/나스닥/골드       암호화폐/외환/나스닥/골드 암호화폐/외환/나스닥/골드   암호화폐/외환/나스닥/골드
     
현물 |선물 인버스 |선물 USDT       전략매니저(카피트레이딩)     롤오버 이자 없는 스왑프리계좌
( 스왑프리 암호화폐도 거래 가능 )    
MT4, MT5 , cTrader 모두 지원     FTMO 계좌 매매운용. MT4,MT5