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

Search:

Type: Posts; User: mesajflaviu

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Using command line to open the same application but different file

    Inspired of your idea, I had done my task. Kindly thank you, all of you !
  2. Re: Using command line to open the same application but different file

    This app should be called through command line, from another app, or by the user, even through "Open with ..." context menu command.
  3. Re: Using command line to open the same application but different file

    After actual behavior of the application, to append every text loaded via OnOpenDocument(), using MDI framework will not solve my problem ... loading text into the same SDI app, or MDI app, but in...
  4. Re: Using command line to open the same application but different file

    Yes, the text files are opened ok from command line, but in a difference instance, and I want to open the text files, into the same instance ...
  5. Re: Using command line to open the same application but different file

    Ok, far now, I succeeded to retrieve the file name open by command line:


    BOOL CTextStitchApp::InitInstance()
    {
    CCommandLineInfo cmdInfo;
    CWnd* pWnd = CWnd::FindWindow(g_sMutexName, NULL);...
  6. Re: Using command line to open the same application but different file

    I have tried something like this:


    CCommandLineInfo cmdInfo;
    CWnd* pWnd = CWnd::FindWindow(g_sMutexName, NULL);

    if(NULL != pWnd && NULL != pWnd->GetSafeHwnd())
    {
    // A prevous running...
  7. Using command line to open the same application but different file

    Hi all of you.
    I come here with a problem: can I use command line to open the same application, but different file ? How ?

    Here is the situation: I have a SDI app, with CView based on CEditView,...
  8. Replies
    1
    Views
    203

    Re: Dockablepane overlap issue

    Please call


    RecalcLayout();

    after you hide/show controlbar.
  9. Replies
    7
    Views
    657

    Re: C++ Interview Questions

    I saw here something interesting:
    http://guitarcplusplus.blogspot.ro/2014/03/interview-questions-c.html
  10. Replies
    6
    Views
    877

    Re: Coloring thumbs on CScrollBar

    OK, thank you ... at least I know where to go.
  11. Replies
    6
    Views
    877

    Re: Coloring thumbs on CScrollBar

    Kindly thank you Mike ... and how should I get/set thumbs color of CScrollbar ? As I said before, I don't think that redrawing whole control could be a solution ...
  12. Replies
    6
    Views
    877

    Re: Coloring thumbs on CScrollBar

    I have tried to handle ON_WM_DRAWITEM():


    void CScrollBarExt::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
    {
    // TODO: Add your message handler code here and/or call default
    ...
  13. Replies
    6
    Views
    877

    Coloring thumbs on CScrollBar

    I am trying to coloring thumbs on CScrollBar control ... in order to achieve that, I derived a class from CScrollBar, named CScrollbarExt, and I handled CtlColor:


    protected:...
  14. Replies
    22
    Views
    26,547

    Re: CString class in non-MFC static library

    "MFC has been around for 20 years or so, and is very reliable".
    Totally agree !
  15. Replies
    1
    Views
    288

    Re: gluDisk problem

    There is to less information about your issue to know what happened there, and might be wrong forum [http://forums.codeguru.com/forumdisplay.php?60-Graphics-Programming] ... please provide more info...
  16. Replies
    5
    Views
    778

    Re: File extension setup on CFileDialog

    I have found a workaround, I typed here, in case that everyone need it:


    void CFileDialogExt::OnTypeChange()
    {
    // TODO: Add your specialized code here and/or call the base class

    CString...
  17. Replies
    5
    Views
    778

    Re: File extension setup on CFileDialog

    I searched on VS2008 source code, and here is what I have founded:


    STDMETHODIMP CFileDialog::XFileDialogEvents::OnTypeChange(IFileDialog *)
    {
    METHOD_PROLOGUE(CFileDialog, FileDialogEvents)...
  18. Replies
    5
    Views
    778

    Re: File extension setup on CFileDialog

    I do that, the same behavior ... :(
    33907
  19. Replies
    5
    Views
    778

    File extension setup on CFileDialog

    My intention is to setup an scecific file extension on CFileDialog ... For that, I derived a class from CFileDialog, named CFileDialogExt. I have 5 different file types, like this:


    LPTSTR...
  20. Replies
    5
    Views
    702

    Re: Saving view

    Sorry for later response ... I have wrote the same code, except one line:


    Image.Attach((HBITMAP)pBitmap->m_hObject);

    instead of


    image.Attach((HBITMAP)pBitmap->GetSafeHandle());
  21. Replies
    5
    Views
    702

    Saving view

    I have an application that compound more CBitmaps into single one, and all of them I spread it into CScrollView. How can I save entire view (helped by CImage), but not just visible part in window...
  22. Replies
    13
    Views
    1,302

    Re: SetCursorPos slowness

    Kindly thank you ... I'll pay attention on this, right now I have only one monitor, but who knows in future ?
  23. Replies
    13
    Views
    1,302

    Re: SetCursorPos slowness

    No ... are you referring GetSystemMetrics(SM_CXFULLSCREEN) ?
  24. Replies
    13
    Views
    1,302

    Re: SetCursorPos slowness

    I finally made it ... I put code here, in case that someone need it:


    void CTestMouseView::ReleaseClipCursor()
    {
    CRect rect;
    int nScreenWidth = GetSystemMetrics(SM_CXFULLSCREEN);...
  25. Replies
    13
    Views
    1,302

    Re: SetCursorPos slowness

    To render medical images (DICOM files), in fact MultiPlanarReconstruction. Theoretic, VTK has graphic objects that behave like what I am trying to do, but is not working correct when vtk window has...
Results 1 to 25 of 130
Page 1 of 6 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center