Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: "'StrRetToBuf' : undeclared identifier" even when i have included shlwapi.h and added shlwapi.lib Pin
Joaquín M López Muñoz21-May-02 9:13
Joaquín M López Muñoz21-May-02 9:13 
GeneralRe: "'StrRetToBuf' : undeclared identifier" even when i have included shlwapi.h and added shlwapi.lib Pin
redeemer21-May-02 9:11
redeemer21-May-02 9:11 
GeneralRe: "'StrRetToBuf' : undeclared identifier" even when i have included shlwapi.h and added shlwapi.lib Pin
Michael Dunn21-May-02 14:02
sitebuilderMichael Dunn21-May-02 14:02 
GeneralSendMessage() and CFormView::OnFilePrint() Pin
dazinith21-May-02 8:14
dazinith21-May-02 8:14 
GeneralRe: SendMessage() and CFormView::OnFilePrint() Pin
Joaquín M López Muñoz21-May-02 8:25
Joaquín M López Muñoz21-May-02 8:25 
GeneralRe: SendMessage() and CFormView::OnFilePrint() Pin
dazinith21-May-02 9:21
dazinith21-May-02 9:21 
GeneralRe: SendMessage() and CFormView::OnFilePrint() Pin
Joaquín M López Muñoz21-May-02 9:27
Joaquín M López Muñoz21-May-02 9:27 
GeneralRe: SendMessage() and CFormView::OnFilePrint() Pin
dazinith21-May-02 9:54
dazinith21-May-02 9:54 
I have looked at the article, and tried the following:
CMainFrame
----------
#define WM_TESTING WM_APP + 0x100 // defined above IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
...
pForm->SendMessage(WM_TESTING,1,NULL);


CDisplayPrintTemplate
---------------------
#define WM_TESTING WM_APP + 0x100
..
BEGIN_MESSAGE_MAP(CDisplayPrintTemplate, CFormView)
ON_WM_ERASEBKGND()
ON_COMMAND(ID_PRINT_SELECTED,CFormView::OnFilePrint)
ON_COMMAND(WM_TESTING, TestMe)
END_MESSAGE_MAP()
..
void CDisplayPrintTemplate::TestMe()
{
AfxMessageBox("Testme");
CFormView::OnFilePrint();

}


the message never pops up.. i am just calling the function directly now.. im trying to figure out how to keep the print dialog from popping up.. thanks for all of your help Smile | :)


-dz
GeneralRe: SendMessage() and CFormView::OnFilePrint() Pin
Joaquín M López Muñoz21-May-02 11:16
Joaquín M López Muñoz21-May-02 11:16 
GeneralRe: SendMessage() and CFormView::OnFilePrint() Pin
Philip Patrick21-May-02 8:36
professionalPhilip Patrick21-May-02 8:36 
GeneralRe: SendMessage() and CFormView::OnFilePrint() Pin
Jonathan Craig21-May-02 9:44
Jonathan Craig21-May-02 9:44 
GeneralAmout of memory used by a process Pin
Prem Kumar21-May-02 7:32
Prem Kumar21-May-02 7:32 
GeneralRe: Amout of memory used by a process Pin
Philip Patrick21-May-02 8:38
professionalPhilip Patrick21-May-02 8:38 
GeneralRe: Amout of memory used by a process Pin
Joaquín M López Muñoz21-May-02 9:01
Joaquín M López Muñoz21-May-02 9:01 
GeneralRe: Amout of memory used by a process Pin
Prem Kumar21-May-02 9:19
Prem Kumar21-May-02 9:19 
GeneralRe: Amout of memory used by a process Pin
Joaquín M López Muñoz21-May-02 9:32
Joaquín M López Muñoz21-May-02 9:32 
GeneralRe: Amout of memory used by a process Pin
Prem Kumar21-May-02 10:58
Prem Kumar21-May-02 10:58 
GeneralRe: Amout of memory used by a process Pin
Rickard Andersson2021-May-02 8:57
Rickard Andersson2021-May-02 8:57 
GeneralRe: Amout of memory used by a process Pin
Joaquín M López Muñoz21-May-02 9:21
Joaquín M López Muñoz21-May-02 9:21 
GeneralRe: Amout of memory used by a process Pin
Rickard Andersson2021-May-02 10:50
Rickard Andersson2021-May-02 10:50 
GeneralRe: Amout of memory used by a process Pin
Joaquín M López Muñoz21-May-02 11:20
Joaquín M López Muñoz21-May-02 11:20 
GeneralRe: Amout of memory used by a process Pin
Prem Kumar21-May-02 10:53
Prem Kumar21-May-02 10:53 
QuestionATL Web Server return values question? Pin
Ollie21-May-02 7:09
Ollie21-May-02 7:09 
AnswerRe: ATL Web Server return values question? Pin
Philip Patrick21-May-02 7:21
professionalPhilip Patrick21-May-02 7:21 
GeneralRe: ATL Web Server return values question? Pin
Ollie21-May-02 7:20
Ollie21-May-02 7:20 

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.