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

Search:

Type: Posts; User: OneEyeMan

Page 1 of 29 1 2 3 4

Search: Search took 1.21 seconds.

  1. Replies
    2
    Views
    340

    Re: Rubber-band selection in list control

    Hi,
    I just tried to handle WM_LBUTTONDOW/WM_LBUTTONUP pair.
    While the first did arrive and eveerything works fine the latter message never arrives.

    The code is as follows:



    case...
  2. Replies
    2
    Views
    340

    Rubber-band selection in list control

    Hi,
    I'm trying to implement rubber-band selection in list control.
    I can start in response to LVN_BEGINDRAG and then handle LVN_HOTTRACK, but since there is no LVN_ENDDRAG I don't know when to...
  3. Replies
    5
    Views
    465

    Re: Bug in the ListCtrl implementation

    VictorN,


    case HDN_DIVIDERDBLCLICK:
    {
    NMHEADER *pHeader = (NMHEADER *) lParam;
    const int item = pHeader->iItem;
    if(...
  4. Replies
    5
    Views
    465

    Re: Bug in the ListCtrl implementation

    Hi,


    Control initially is in the report mode with some rows and 3 columns.
    Column 0 is created with the style LVSCW_AUTOSIZE
    Column 1 is created with the style LVSCW_AUTOSIZE.
    Column 2 is...
  5. Replies
    5
    Views
    465

    Bug in the ListCtrl implementation

    Hi, ALL,
    This page explains everything properly, however it doesn't explain what should happen when the control does not have any rows.

    My understanding is that if I send this message the columns...
  6. Replies
    2
    Views
    828

    Re: C++ API to retrieve case sensitivity

    Hi,


    Thank you.
  7. Replies
    2
    Views
    828

    C++ API to retrieve case sensitivity

    Hi, ALL,
    Windows 10 introduces a possibility to set case sensitivity for a directory to be compatible with *nix-based OSes. (Info from here/.

    What I wonder is if there is an API to retrieve this...
  8. Re: Asynchronously moving file(s) to Recycle Bin

    2kaud,
    I'm not there yet, unfortunately.

    Thank you.
  9. Re: Asynchronously moving file(s) to Recycle Bin

    Hi,


    Which standard std::async is available under? I need it to work under C++98.
    Also, asynchronous call is not the same as using threads.

    Thank you.
  10. Re: Asynchronously moving file(s) to Recycle Bin

    Hi,


    I think this paragraph from MSDN makes it possible to check the result. Am I missing something?



    Thank you.
  11. Re: Asynchronously moving file(s) to Recycle Bin

    Hi,


    I'm trying to write a re-usable component, which maybe used by different applications.
    And I'm sure there is an API which will allow me to just call SHFileOperation asynchronously...
    ...
  12. Asynchronously moving file(s) to Recycle Bin

    Hi,
    It looks like SHFileOperation() is doing it synchronously.
    Is it possible to do that asynchronously, as the subject says?

    Thank you.
  13. Replies
    3
    Views
    380

    Re: Counting physical lines in text control

    Arja,
    Does this mean there is no other way?

    Thank you.
  14. Replies
    3
    Views
    380

    Counting physical lines in text control

    Hi, ALL,
    Is there a better way of doing the subject than counting the number of hard carriage return symbols?

    Thank you.
  15. Re: Count number of physical lines in the text control

    Hi, VictorN,
    Sorry for the late reply...

    Yes. It doesn't make sense otherwise.


    MSDN says so. And I tested.
    It counts number of wrapped lines ("logical"), not the physical ones.

    Thank you.
  16. Count number of physical lines in the text control

    Hi, ALL,
    In the text control there are 2 types of line: physical and logical.

    Physical lines are divided by "\n\r" characters ("\n" on *nix), logical lines are used when the control is narrower...
  17. Replies
    4
    Views
    426

    ListView message

    Hi,
    On this page I couldn't find a message that corresponds to user double-clicking on the header divider.
    This event should correspond to the column being auto-sized.

    Should I try to catch the...
  18. Replies
    9
    Views
    914

    Re: MSDN documentation

    Hi,
    The only reason I'm asking is because first link in the 2kaud answer says that this was working for a long time prior to introducing this extra field. And I don my development on Windows 7 where...
  19. Re: not printing true message scanf skipping problem in c.

    Hi,


    Is this a school assignment?
    This is wrong - as people explain to you name cannot be integer, unless you are trying to create a program for Nazi's in 1941. ;-)

    Try to enter a number...
  20. Replies
    9
    Views
    914

    Re: MSDN documentation

    Hi,


    I presume in order to make it work for older Rich Edit control I need to use ITextDocument2::SetEffectColor()?

    Is there a way to retrieve this interface? Is it part of a standard Windows...
  21. Replies
    9
    Views
    914

    Re: MSDN documentation

    Hi,

    They are not color values, but rather some arbitrary BITE ones, that do not connect to anything.

    Thank you.
  22. Replies
    9
    Views
    914

    Re: MSDN documentation

    Hi,

    But it is a color and not some arbitrary value.
    But OK - its their decision, however it is.


    Well quoting from that link:


    which looks exactly as the SO link I posted in the OP.
  23. Replies
    9
    Views
    914

    MSDN documentation

    Hi, ALL,
    First a rhetorical question:

    Why MS declared a COLOR variable as BYTE in here for bUnderlineColor?

    Now on the more serious note:

    Are the values for this BYTE variable documented...
  24. Replies
    1
    Views
    797

    Downgrading C++ standard

    Hi, ALL,
    On my machine I have gcc 5.4 which defaults to C++11.
    I tried to submit a pull request to one of the open-source projects which on Travis CI is using gcc 4.6.3, which default to C++98.
    ...
  25. Thread: MSDN issue

    by OneEyeMan
    Replies
    4
    Views
    456

    MSDN issue

    Hi,
    Does anybody here have an affiliation with Microsoft?

    On this page, the member bUnderlineColor is not documented as being available since the RICHEDIT_VER 0x0800.

    However, this page does...
Results 1 to 25 of 713
Page 1 of 29 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)