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

Search:

Type: Posts; User: SlimGradey

Page 1 of 7 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    4,740

    BTNexgenIPL v3 anyone have it ?

    Hi all... Anyone have version 3.0 of BTNexgenIPL that I could download... Been hard to find it... Thx a lot...
  2. Re: Rounding a number multiple of another

    Thx so much guys... I was so close the first time... I had roundto only twice and not three times... Finally its working... Appreciate so much...
  3. Re: Rounding a number multiple of another

    I was trying random things by divide multiple in half and times or add to the width value but always give wrong thing so I tried to hard code it
    By doing if width less than 96 width equal 64 and if...
  4. [RESOLVED] Rounding a number multiple of another

    Hello all,
    How would I be able to round a number in multiples of another...

    Let's say width is 150
    And multiple to be 64...
    I want 150 to become 128...
    if it was 160 to become 192...

    The...
  5. [RESOLVED] How to know when mouse over a control in a dialog

    Hello all...
    I forget how to know when mouse is over controls in dialog...
    I want to show a message in status bar when mouse over each control...
    Thx so much...
  6. Re: Need help with a grid over a bitmap in a scrollview

    Thx guys... That did the trick... Now its really fast... Now in mousemove I draw the current highlight and invalidate the old highlight...
  7. Re: Need help with a grid over a bitmap in a scrollview

    OnDraw(CDC* pDC)
    {
    CDC pDC2;
    pDC2.CreateCompatibleDC(pDC);
    OnPrepareDC(&pDC2);
    CBitmap bitmap;
    bitmap.CreateCompatibleBitmap(pDC,m_width,m_height);
    CBitmap *oldBitmap =...
  8. [RESOLVED] Need help with a grid over a bitmap in a scrollview

    Hello... I have a CScrollView that displays a bitmap and I'm trying to draw a grid that I can turn off and on by check box and when the mouse is over a section of the grid that square highlights... I...
  9. need help find out why my magnified bitmap flickers & goes out of scope after awhile

    hi all...
    can someone look over this code to help me find out why my zoomed in bitmap flickers and loses scope after awhile...
    i have a cstatic with a bitmap showing and when the mouse is over it...
  10. how to use CRectTracker to allow moving and resizing it

    i'm using visual studio 6, i trying find out how to us CRectTracker to let me make a selection on my custom cstatic bitmap that i can move and resize the rect with mouse and keyboard... i want to be...
  11. [RESOLVED] need help with CToolTipCtrl show hide fixed position

    hello all...
    i have a custom cstatic and want to show a tooltip anywhere outside of it in fixed position... and hide the tooltip when its not over the cstatic...

    i used to have it to follow my...
  12. Re: how to draw a selection rectangle that able to move in all directions

    thanks guys...
    i cant figure out how to use the CRectTracker...
    i've already coded a way to make selection with DrawFocusRect, everything works fine... except being able to change the direction of...
  13. [RESOLVED] how to draw a selection rectangle that able to move in all directions

    hello all, i'm using DrawFocusRect to make a selection on a cstatic with bitmap... but when i make a selection the first point is always the top left...and end point the bottom right... how do i make...
  14. Re: how to capture a part of the screen from second monitor

    i still need help with this...
    trying find way to get bitmap of the second monitor...
    and make it work in the code above...
    thx...
  15. Re: how to capture a part of the screen from second monitor

    this the code i use to take snap shot of my screen and crop it to the rect i want.. then save as jpeg...
    works fine on single monitor... how can i change this to work on dual monitors...



    ...
  16. how to capture a part of the screen from second monitor

    hello all,
    i made an app to save part of my screen to a jpeg... it works great on single monitor... but if i pass a rect thats not within the main monitor the image will be black... anyone know they...
  17. [RESOLVED] how to get all the running processes on winxp and save to text file

    hello all,
    i would like to know how to go about getting all the current windows processes and saving all the file names to a text file... seems task manager not able to save the list...

    wanted to...
  18. Replies
    12
    Views
    1,786

    Re: need help with CRect operator less than

    right... seems to be what i need... i guess...
    these rects represents textures, and i'm butting them up against each
    other on a 256x256 page... a rect of 1x201 would have 1 pixel out passed...
  19. Replies
    12
    Views
    1,786

    Re: need help with CRect operator less than

    i think i might have close to what i looking for now...
    things sorted little better... or best i can do...
    what i did was make a new struct same as the other but
    added a cstring... and do the...
  20. Replies
    12
    Views
    1,786

    Re: need help with CRect operator less than

    i tried this and things still seems randomly sorted



    BOOL operator < (const CRect &lhs, const CRect &rhs)
    {
    int p1 = 2*(lhs.Width() + lhs.Height());
    int p2 = 2*(rhs.Width() +...
  21. Replies
    12
    Views
    1,786

    Re: need help with CRect operator less than

    i'm trying to sort the rects to fill a 256x256 page with all the
    largest rects first on the page, then each page will have smaller and
    smaller rects...

    i dont know much about perimeters, maybe...
  22. Replies
    12
    Views
    1,786

    Re: need help with CRect operator less than

    based on physical looks, 2x8 is the bigger one...
    an also 8 is the bigger of the numbers... so needs to
    be placed lower... 3x5 would be first..
    1x5,2x5,3x5,1x8,2x8... values range from 1x1 to...
  23. Replies
    12
    Views
    1,786

    Re: need help with CRect operator less than

    here's some code i was trying out....



    BOOL operator < (const CRect &lhs, const CRect &rhs)
    {
    BOOL val = FALSE;

    if(lhs.Width() < rhs.Width() && lhs.Height() < rhs.Height())
    {
  24. Replies
    12
    Views
    1,786

    need help with CRect operator less than

    hello,
    i have a struct with x,y width,height, and page number in a vector, i'm trying to make a sort by page or by width and height of the rects...
    sorting by page seems to work fine... but i cant...
  25. Re: hi about fileviewing andthe signs the file made from

    look up ShellExecute(...); maybe that's what you want, can use it to open files in the file's defaut app or any file in notepad / wordpad...
    if you want to open files and display in your own app,...
Results 1 to 25 of 165
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured