how to create property sheet using SDK ? Need example

Jane 2000-01-14 09:42:00
I need to know how to create property sheet by using SDK . I design driver's UI with 16 bit .The best way to help me is some little example .other help is welcome .please e-mail this address : Jane.Xu@chn.xerox.com
...全文
162 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hadrons 2000-09-09
  • 打赏
  • 举报
回复
我也想知道
WHQ 2000-01-14
  • 打赏
  • 举报
回复
LRESULT WINAPI YouProDlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch( uMsg )
{
case WM_INITDLG :
SendDlgItemMessage(hWnd, IDC_TABCTRL, TCM_INSERTITEM, 0, "第一页");
SendDlgItemMessage(hWnd, IDC_TABCTRL, TCM_INSERTITEM, 1, "第二页");
...
ShowProPage(hWnd, 0); // 显示第一页
return 0;
break;
case TCN_SELCHANGING : // 将要改变当前页
if( 不想改变 ) return TRUE;
else return FALSE;
case TCN_SELCHANGE :
ShowProPage(hWnd, SendDlgItemMessage(hWnd, TCM_GETCURSEL, 0, 0L)); // 显示另一页
return 0;
break;
}
return DefDlgProc(hWnd, uMsg, wParam, lParam);
}

ShowProPage(HWND hDlg, int nPage)
{
ShowWindow(GetDlgItem(hDlg, IDC_PAGE01_CTRL01), nPage == 0 ? SW_SHOW : SW_HIDE);
ShowWindow(GetDlgItem(hDlg, IDC_PAGE01_CTRL02), nPage == 0 ? SW_SHOW : SW_HIDE);
...
ShowWindow(GetDlgItem(hDlg, IDC_PAGE02_CTRL01), nPage == 1 ? SW_SHOW : SW_HIDE);
...
}

69,369

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧