Click here to Skip to main content
15,910,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCDialogBar Pin
alex742-Jul-03 14:32
alex742-Jul-03 14:32 
GeneralRe: CDialogBar Pin
dexo2-Jul-03 15:27
dexo2-Jul-03 15:27 
GeneralSetting DIR/file in edit box Pin
dark-hawk2-Jul-03 13:31
dark-hawk2-Jul-03 13:31 
GeneralRe: Setting DIR/file in edit box Pin
PJ Arends2-Jul-03 14:00
professionalPJ Arends2-Jul-03 14:00 
GeneralRe: Setting DIR/file in edit box Pin
dark-hawk2-Jul-03 14:32
dark-hawk2-Jul-03 14:32 
GeneralCreateWindow Failed Pin
ElizabethC2-Jul-03 12:42
ElizabethC2-Jul-03 12:42 
GeneralRe: CreateWindow Failed Pin
Magnus Westin2-Jul-03 13:00
Magnus Westin2-Jul-03 13:00 
GeneralRe: CreateWindow Failed Pin
ElizabethC2-Jul-03 13:19
ElizabethC2-Jul-03 13:19 
Yes, I did.
-------------------------
LPINITCOMMONCONTROLSEX lpInitCtrls = new INITCOMMONCONTROLSEX;
lpInitCtrls->dwICC =ICC_PAGESCROLLER_CLASS;
InitCommonControlsEx(lpInitCtrls);
if (CreateWindow(WC_PAGESCROLLER,NULL,PGS_HORZ|WS_CHILD, 0, 0, 0, 0, m_hWnd, NULL ,AfxGetInstanceHandle(),NULL) == NULL)
{
AfxMessageBox("Failed creating the pager control.");
return -1;
}

-------------------------

I have the code in the CMainFrame class at end of the OnCreate function.


Eilzabeth
GeneralRe: CreateWindow Failed Pin
Magnus Westin2-Jul-03 13:23
Magnus Westin2-Jul-03 13:23 
GeneralRe: CreateWindow Failed Pin
ElizabethC2-Jul-03 13:38
ElizabethC2-Jul-03 13:38 
GeneralRe: CreateWindow Failed Pin
ElizabethC2-Jul-03 13:48
ElizabethC2-Jul-03 13:48 
GeneralRe: CreateWindow Failed Pin
Magnus Westin2-Jul-03 21:09
Magnus Westin2-Jul-03 21:09 
GeneralRe: CreateWindow Failed Pin
ElizabethC3-Jul-03 6:04
ElizabethC3-Jul-03 6:04 
GeneralComparing local and remote Last Modified times Pin
IGx892-Jul-03 12:39
IGx892-Jul-03 12:39 
GeneralRe: Comparing local and remote Last Modified times Pin
Magnus Westin2-Jul-03 13:22
Magnus Westin2-Jul-03 13:22 
Generalcolor with button Pin
aguest2-Jul-03 12:17
aguest2-Jul-03 12:17 
GeneralRe: color with button Pin
Christian Graus2-Jul-03 12:18
protectorChristian Graus2-Jul-03 12:18 
GeneralRe: color with button Pin
Anonymous2-Jul-03 14:05
Anonymous2-Jul-03 14:05 
GeneralRe: color with button Pin
Christian Graus2-Jul-03 14:07
protectorChristian Graus2-Jul-03 14:07 
GeneralRe: color with button Pin
RChin3-Jul-03 22:58
RChin3-Jul-03 22:58 
GeneralChanging Printer Page Orientation in Mid Stream Pin
Larry J. Siddens2-Jul-03 11:00
Larry J. Siddens2-Jul-03 11:00 
GeneralRe: Changing Printer Page Orientation in Mid Stream Pin
Ryan Binns3-Jul-03 1:25
Ryan Binns3-Jul-03 1:25 
GeneralRe: Changing Printer Page Orientation in Mid Stream Pin
Larry J. Siddens3-Jul-03 2:11
Larry J. Siddens3-Jul-03 2:11 
GeneralRe: Changing Printer Page Orientation in Mid Stream Pin
Ryan Binns3-Jul-03 2:19
Ryan Binns3-Jul-03 2:19 
GeneralRe: Changing Printer Page Orientation in Mid Stream Pin
Larry J. Siddens7-Jul-03 4:08
Larry J. Siddens7-Jul-03 4:08 

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.