CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: deepakbidap

Search: Search took 0.03 seconds.

  1. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    I have got a mail,I found in the google,


    Hi Greg,

    The print preview window in VC6 is not a child window of the MDI mainframe*
    window, when being called it will be displayed to replace the...
  2. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    1.The Project what I am working is a menu based display software,wherein each menu or submenu or each tab is considered as a pane will be displayed as a page in the print preview.The return value of ...
  3. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    I found something,

    The code,
    CPreviewView* pPreviewView = DYNAMIC_DOWNCAST(CPreviewView, pMainFrame->GetDlgItem(AFX_IDW_PANE_FIRST));
    when corrected to,
    CPreviewView* pPreviewView=...
  4. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    The code is present in OnDraw() function.
  5. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    I need time to create the project.Please give me one day's time.
  6. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    31607
  7. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    31601
  8. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    before these two lines,
    CFrameWnd* pMainFrame = DYNAMIC_DOWNCAST(CFrameWnd, AfxGetMainWnd());

    Hence corrected to,
    CWnd* pMainWnd = GetParentFrame();
    if (DYNAMIC_DOWNCAST(CFrameWnd,...
  9. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    Original code,
    CPreviewView* pPreviewView = DYNAMIC_DOWNCAST(CPreviewView, pMainFrame->GetDlgItem(AFX_IDW_PANE_FIRST));
    CWnd* pToolBar = pMainFrame->GetDlgItem(AFX_IDW_PREVIEW_BAR);

    Here...
  10. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    COleIPFrameWnd *pInPlaceFrame = DYNAMIC_DOWNCAST(COleIPFrameWnd, pParentFrame);

    in Viewprev.cpp.
    Here pInPlaceFrame=0x00000000

    But in VC++ 6.0,Viewprev.cpp,
    this class is not called.
  11. Re: Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    CPrintdocument is a user defined class,sorry I thought it is one of those MFC classes.
    static BOOL IsPrintPreview_S(); is the member function of CPrintdocument.
    The code is from VC++ 6.0 where...
  12. Migration of Print Preview code from VC++ 6.0 to VC++ 2008

    Hi,
    I am migrating my project from VC++ 6.0 to VC++ 2008.I have been successful in doing so until now,where I am stuck up with Priint Preview part of the project.I have googled for this, and made...
  13. connecting to Informix from another System

    What is the Connection string (for OLEDB) for Informix,across the network to be used in a VC++ program?Some extra ini file(ip address has to be mentioned) has to be changed?Or extra .lib or .dll has...
  14. 'nsqlprep' is not recognized as an internal or external command

    I found a sample program (Embedded SQL C for SQL Server 2000) in the installables of MS SQL Server 2000.I ran it against MS SQL Server 2005 and I got this error.
    Running ESQL/C precompiler...
  15. Replies
    0
    Views
    409

    Visualization in Winamp

    I need to install an instance of WinAmp in our application(project).For that I tried to put an ActiveX Control of WinAmp.But this WinAmp has only basic features like start,pause,stop doesn't support...
  16. Replies
    1
    Views
    461

    Visualizations in Media Player

    Hi,
    Actually,I am developing a sample media player using VC++ and Platform SDK interfaces from the scratch.I just wanted to know what are the interfaces,I have to use to configure the media player...
  17. Replies
    0
    Views
    610

    Sphere Mapping in OpenGL

    Actually,I have drawn the 3D figure of sphere on the screen using OpenGL.Using Texture Sphere Mapping I have wrapped the sphere an image(.bmp file).But this image,when the object(sphere) rotates...
  18. Thread: OpenGL

    by deepakbidap
    Replies
    2
    Views
    589

    OpenGL

    Hi,
    I have already plotted an ellipsoid using openGL.Now,using mouse clicks I have to plot points on it not only at its original position,but also on it when it is rotated.
    I can now rotate it...
  19. Replies
    7
    Views
    2,735

    As I had written earlier that "I have written a...

    As I had written earlier that
    "I have written a program on Socket programming using VC++ classes like CSocket,and others.They are two threads in it named Answerthread and callthread.In both the...
  20. Replies
    7
    Views
    2,735

    View Post

  21. Replies
    7
    Views
    2,735

    Socket Programming in VC++

    I have written a program on Socket programming using VC++ classes like CSocket,and others.They are two threads in it named Answerthread and callthread.In both the applications,input of host address...
  22. Replies
    2
    Views
    922

    I have used scrollview instead of cView,I could...

    I have used scrollview instead of cView,I could attach the scrollbars to the window,but as I try to plot points beyond te screen actual size,I found it difficult.I tried to use moveto lineto
    to plot...
  23. Replies
    2
    Views
    922

    CScrollbar in MFC

    I have been plotting the points on the screen(graph).I want the scrollbars included as I plot a point somewhere outside,beyond the actual screen.

    I tried doing that as follows,I confgured a...
  24. Replies
    5
    Views
    1,222

    This is in regard to the 3 replies I received for...

    This is in regard to the 3 replies I received for my first post,
    I didn't find any _i.c file nor any .h header file other than dmusici.h file (which I have included in the program )in the system.
  25. Replies
    5
    Views
    1,222

    Linker Errors

    Hi,
    I have been facing these linker errors,I have tried to debug,I looked out for .lib files,I came to know no .lib file has to be included for direct music.I have included all the important header...
Results 1 to 25 of 25





Click Here to Expand Forum to Full Width

Featured