Click here to Skip to main content
15,914,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to disable/enable menu items Pin
Max Santos12-Jun-07 6:18
Max Santos12-Jun-07 6:18 
QuestionHow to select a folder path in MFC? Pin
Electronic7512-Jun-07 1:29
Electronic7512-Jun-07 1:29 
AnswerRe: How to select a folder path in MFC? Pin
_AnsHUMAN_ 12-Jun-07 1:52
_AnsHUMAN_ 12-Jun-07 1:52 
GeneralRe: How to select a folder path in MFC? Pin
Electronic7512-Jun-07 2:39
Electronic7512-Jun-07 2:39 
GeneralRe: How to select a folder path in MFC? Pin
JudyL_MD12-Jun-07 3:13
JudyL_MD12-Jun-07 3:13 
GeneralRe: How to select a folder path in MFC? Pin
_AnsHUMAN_ 12-Jun-07 3:18
_AnsHUMAN_ 12-Jun-07 3:18 
AnswerRe: How to select a folder path in MFC? Pin
Max Santos12-Jun-07 6:22
Max Santos12-Jun-07 6:22 
Questionproblem with setting bitmaps on propertysheet header and footer? Pin
Banks K12-Jun-07 1:08
Banks K12-Jun-07 1:08 
Hello All,

Actually i am using in my application "PropertyPage and PropertySheet" so i have to set bitmap on PropertySheet header and footer for every page so for that i am trying as follows:

constructor of my propertysheet class

CMyPropertySheet::CMyPropertySheet(CWnd* pParentWnd,
UINT iSelectPage, HBITMAP hWatermark, HPALETTE hpalWatermark,
HBITMAP hHeader)
: CPropertySheet(what i have to give caption ID here, pParentWnd, iSelectPage, hWatermark, hpalWatermark, hHeader)

and i am calling that as follows:
Bitmap bmWatermark;
CBitmap bmHeader;
if(!bmWatermark.LoadBitmap(IDB_BITMAP1))
return FALSE;
if(!bmHeader.LoadBitmap(IDB_BITMAP1))
return FALSE;

CMyPropertySheet MyPropSheet(NULL, 0, bmWatermark, NULL, bmHeader);

for this i am only unable to understand what i have to caption id into CPropertySheet(....) constructor if i am giving some integer than it got crashed

so if anybody have idea please share with me..........

thanks


AnswerRe: problem with setting bitmaps on propertysheet header and footer? Pin
Mark Salsbery12-Jun-07 7:41
Mark Salsbery12-Jun-07 7:41 
QuestionPassing threa point in different dialog Pin
kcynic12-Jun-07 1:00
kcynic12-Jun-07 1:00 
AnswerRe: Passing threa point in different dialog Pin
Mark Salsbery12-Jun-07 7:45
Mark Salsbery12-Jun-07 7:45 
GeneralRe: Passing threa point in different dialog Pin
kcynic12-Jun-07 8:16
kcynic12-Jun-07 8:16 
GeneralRe: Passing threa point in different dialog Pin
Mark Salsbery12-Jun-07 8:51
Mark Salsbery12-Jun-07 8:51 
GeneralRe: Passing threa point in different dialog Pin
kcynic12-Jun-07 12:29
kcynic12-Jun-07 12:29 
GeneralRe: Passing threa point in different dialog Pin
Mark Salsbery12-Jun-07 13:42
Mark Salsbery12-Jun-07 13:42 
GeneralRe: Passing threa point in different dialog Pin
kcynic12-Jun-07 15:13
kcynic12-Jun-07 15:13 
GeneralRe: Passing threa point in different dialog Pin
kcynic12-Jun-07 20:49
kcynic12-Jun-07 20:49 
QuestionDirect X SDK Pin
tyagineha12-Jun-07 0:40
tyagineha12-Jun-07 0:40 
AnswerRe: Direct X SDK Pin
tanvon malik12-Jun-07 0:49
tanvon malik12-Jun-07 0:49 
GeneralRe: Direct X SDK Pin
tyagineha12-Jun-07 1:04
tyagineha12-Jun-07 1:04 
GeneralRe: Direct X SDK Pin
tanvon malik12-Jun-07 1:19
tanvon malik12-Jun-07 1:19 
GeneralRe: Direct X SDK Pin
tyagineha12-Jun-07 18:35
tyagineha12-Jun-07 18:35 
GeneralRe: Direct X SDK Pin
tyagineha12-Jun-07 18:39
tyagineha12-Jun-07 18:39 
GeneralRe: Direct X SDK Pin
Amar Sutar12-Jun-07 21:48
Amar Sutar12-Jun-07 21:48 
GeneralRe: Direct X SDK Pin
tyagineha12-Jun-07 22:51
tyagineha12-Jun-07 22:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.