Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems with .NET double data type Pin
Maximilien12-Sep-05 3:04
Maximilien12-Sep-05 3:04 
QuestionHow to trap as soon as some Windows app of the same computer sends a print job to the network printer server? Pin
wangdave12-Sep-05 0:05
wangdave12-Sep-05 0:05 
Questionsingleton for a parent with protected destructor Pin
yccheok12-Sep-05 0:02
yccheok12-Sep-05 0:02 
AnswerRe: singleton for a parent with protected destructor Pin
Axter12-Sep-05 0:34
professionalAxter12-Sep-05 0:34 
QuestionAbout System Menu == Plz Help Urgent Pin
parims11-Sep-05 23:44
parims11-Sep-05 23:44 
AnswerRe: About System Menu == Plz Help Urgent Pin
toxcct12-Sep-05 0:15
toxcct12-Sep-05 0:15 
AnswerRe: About System Menu == Plz Help Urgent Pin
ThatsAlok12-Sep-05 23:56
ThatsAlok12-Sep-05 23:56 
Questionvb to c++ Pin
Barm11-Sep-05 22:58
Barm11-Sep-05 22:58 
hi all

I have an application that creates a ms word document. I need to include the page number. I have posted a similar question last week but this one is more to the point.

I have done my research and according to msdn, the function to use is

expression.Add(PageNumberAlignment, FirstPage)

WdPageNumberAlignment

constants:
wdAlignPageNumberCenter, wdAlignPageNumberInside, wdAlignPageNumberLeft, wdAlignPageNumberOutside, or wdAlignPageNumberRight

I have no problem calling out the header and footer pop up... navigating between header and footer but I am still unable to add the page number. The above function uses the vb constants. Anyone know the c++ equivalent for these? I tried using it in C++ but its a undeclared identifier.

Thanks in advance.

Thomas
AnswerRe: vb to c++ Pin
S Douglas12-Sep-05 1:50
professionalS Douglas12-Sep-05 1:50 
AnswerRe: vb to c++ Pin
David Crow12-Sep-05 3:45
David Crow12-Sep-05 3:45 
Questionwatching unicode strings during debugging Pin
Chintoo72311-Sep-05 22:50
Chintoo72311-Sep-05 22:50 
AnswerRe: watching unicode strings during debugging Pin
Manfred Staiger11-Sep-05 23:19
Manfred Staiger11-Sep-05 23:19 
GeneralRe: watching unicode strings during debugging Pin
Chintoo72311-Sep-05 23:46
Chintoo72311-Sep-05 23:46 
GeneralRe: watching unicode strings during debugging Pin
Manfred Staiger12-Sep-05 0:05
Manfred Staiger12-Sep-05 0:05 
GeneralRe: watching unicode strings during debugging Pin
David Crow12-Sep-05 3:54
David Crow12-Sep-05 3:54 
AnswerRe: watching unicode strings during debugging Pin
Maximilien12-Sep-05 1:14
Maximilien12-Sep-05 1:14 
Questionseperate window at run time for image Pin
a_david12311-Sep-05 22:48
a_david12311-Sep-05 22:48 
Question[Message Deleted] Pin
a_david12311-Sep-05 22:29
a_david12311-Sep-05 22:29 
QuestionRe: Regards1creating new window Pin
toxcct11-Sep-05 22:41
toxcct11-Sep-05 22:41 
QuestionMultiple IE instance and cookies problem Pin
Shamael11-Sep-05 22:28
Shamael11-Sep-05 22:28 
Questioncatching NavigateComplete2 using win32 Pin
yair2211-Sep-05 21:58
yair2211-Sep-05 21:58 
Questionm_pMainWnd is NULL in CWinApp::Run Pin
JensB11-Sep-05 20:48
JensB11-Sep-05 20:48 
AnswerRe: m_pMainWnd is NULL in CWinApp::Run Pin
Trollslayer11-Sep-05 21:48
mentorTrollslayer11-Sep-05 21:48 
AnswerRe: m_pMainWnd is NULL in CWinApp::Run Pin
PJ Arends11-Sep-05 22:19
professionalPJ Arends11-Sep-05 22:19 
GeneralRe: m_pMainWnd is NULL in CWinApp::Run Pin
JensB12-Sep-05 3:40
JensB12-Sep-05 3:40 

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.