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

Search:

Type: Posts; User: mesajflaviu

Page 1 of 16 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    391

    Re: include headers problem

    Had worked like a charm ! Thanks a lot !
  2. Replies
    3
    Views
    391

    include headers problem

    I don't know how to overcome this issue.

    I am working to a small sub project, part of big project. I intend to use a method which is part of parent project somehow.

    I want to use a method,...
  3. Replies
    7
    Views
    1,226

    Re: SQLCMD failure

    I succeeded with following commands:


    SQLCMD.EXE -S DESKTOP-YYYYYY\SQLEXPRESS

    CREATE DATABASE mydataabse ON (FILENAME = 'C:\Program Files (x86)\Microsoft SQL...
  4. Replies
    7
    Views
    1,226

    Re: SQLCMD failure

    In the ending is solved. Thank you all of you !
  5. Replies
    7
    Views
    1,226

    Re: SQLCMD failure

    Yes, they are enabled.
  6. Replies
    7
    Views
    1,226

    SQLCMD failure

    I am trying to attach an ms sql database. And I am trying to use sqlcmd utillity. But anytime I try this, I got:



    SQLCMD

    Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Named Pipes...
  7. Replies
    1
    Views
    650

    Re: Override the baseclass function

    const safemap<int, LPUMTSCELL> GetUMTSCellList() from derived implementation is different from

    const safemap<int, LPUMTSCELL>& GetUMTSCellList() = 0;

    See '&' from declaration of base class.
  8. Re: Reduce the computation time of the queries above using indexes

    I create an index for that table:


    CREATE INDEX id_index ON patients(patient_id);

    and removing index:


    DROP INDEX id_index;
  9. Reduce the computation time of the queries above using indexes

    Hello. I have few SQL queries. Something like this:


    number of patients born on Januray 1st, 2000
    number of patients born before Januray 1st, 2000
    number of patients having firstname "JOHN"...
  10. Re: Obtaining LogonDomain for logged on Windows Active Directory user

    Have you tried this code as administrator ?
  11. Replies
    3
    Views
    1,616

    Re: Initially maximize window

    In your CChildFrame header:


    protected:
    virtual void ActivateFrame(int nCmdShow = -1);

    implementation:


    void CChildFrame::ActivateFrame(int nCmdShow)
  12. Re: How do you specify Object Oriented Programming languages class and structure ?

    You could download a good learning site, such as https://www.learncpp.com (where you find classes and struct and whatever) with https://www.httrack.com/page/2/ and you learn at your home :)
  13. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    Another attempt:


    void CMainFrame::On0Restore()
    {
    // TODO: Add your command handler code here

    ShowWindow(SW_RESTORE);
    DWORD dwThreadID = GetWindowThreadProcessId(m_hWnd, NULL);...
  14. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    The code from above is not working if the app NNN is started from Windows Explorer and is activated through left click on balloon (not on icon left click)
  15. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    And did you tried that code by clicking on tray balloon ? And when you tried this code have you started the application not from Visual Studio debugger but from Windows Explorer ?
  16. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    I guess I found the miss understanding here: I need to be functional the left click on tray balloon, not left click on the icon.

    So, let say we have the same call to CMainFrame::On0Restore method...
  17. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    When I moved the click on balloon code to icon left click the MDI app activation has been made, indeed. But I need this behavior on balloon click, not on icon left click. So, I am thinking how to...
  18. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    Sorry, I saw your message just now. Can you explain what you said with: "The OnRestore code was working" ? I have tried again, but I saw no change (meant is not working correctly).
    Thank you.
  19. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    I have made those CSystemTray changes only because GCDEF told me that. But I don't know what is the purpose of this change. Sorry. The reported issue is on activating CMainFrame (MDI) window. And...
  20. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    I have tried:


    void CMainFrame::On0Restore()
    {
    // TODO: Add your command handler code here

    ShowWindow(SW_RESTORE);
    // BringWindowToTop();
    // SetForegroundWindow();
  21. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    I uploaded new version of project, I clean up CSystemTray class from CE stuff, but only from CSystemTray::OnTrayNotification method. I added the case for WM_LBUTTONDOWN, where I put a TRACE macro.
  22. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    Well, I would that, but it would help me ? Because the issue here is that CMainFrame is not activate it. Is shown at user click on tray balloon, but is not active . .. see my image and my sample...
  23. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    No, on icon single left button event is happen nothing. On icon double click the app is shown, on icon right click the context menu is shown and on click on tray balloon is calling...
  24. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    @GCDEF, thank you for your time and sorry if I cause you any issue. I did checked what you said, but in that location, CSystemTray::OnTrayNotification, I don't saw any problem. In that handler, is...
  25. Replies
    44
    Views
    16,438

    Re: Activate MDI window

    I updated the sample project because a class inside the project has errors in x64 configuration. Thank you for your time.
Results 1 to 25 of 384
Page 1 of 16 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)