User Tag List

Results 1 to 8 of 8

Thread: Drag-Window Size

  1. #1
    No Products Registered

    Join Date
    Jul 2008
    Location
    Canada, QC
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drag-Window Size

    So on a normal window, you change the window size by dragging the bottom-right corner.

    Is there any way to make this possible on an app that doesn't have a window frame or header?

  2. #2
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Drag-Window Size

    Using the window control object and some simple math and detector actives, yes it is possible.

  3. #3
    No Products Registered

    Join Date
    Jul 2007
    Location
    Iceland
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Drag-Window Size

    Have you tried the Window Control Object? If you have an active object at the edge of the screen in your application, I'm sure you can hook it up with the resizing functions of the Window Control Object when pressed with the mouse.

  4. #4
    No Products Registered

    Join Date
    Jul 2008
    Location
    Canada, QC
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Drag-Window Size

    Weird, when I use the Window Control Object, the whole window frame shakes...

    EDIT:

    Here are the events I am using:

    IF
    º Repeat while mouse-key is pressed
    º Mouse Pointer is over "Active"

    THEN
    -Set horizontal size to Xmouse
    -Set vertical size to Ymouse

  5. #5
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Drag-Window Size

    Strange, what are you doing to the frame in the events?

  6. #6
    No Products Registered

    Join Date
    Jul 2008
    Location
    Canada, QC
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Drag-Window Size

    Here are the events I am using:

    IF
    º Repeat while mouse-key is pressed
    º Mouse Pointer is over "Active"

    THEN
    -Set horizontal size to Xmouse
    -Set vertical size to Ymouse

  7. #7
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Drag-Window Size

    Quote Originally Posted by GabSt
    THEN
    -Set horizontal size to Xmouse
    -Set vertical size to Ymouse
    The problem with this is that if you drag the active outside the frame, it doesn't register it. I don't have the shaking problem with those events, but it doesn't work either. I'm guessing it has to do with the active.

  8. #8
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Drag-Window Size

    You can try:
    º On Click
    - Set Flag 0 on

    º Flag 0 is on
    - Set Xpos to XMouse
    - Set Ypos to YMouse

    º [X]Repeat while mouse button is pressed
    - Set Flag 0 off

    that's for dragging. Also, setting the size of the window to XMouse or YMouse won't work. You need to set the width to

    XMouse-Horizontal Position of the Window

    and the height to

    YMouse-Vertical Position

Similar Threads

  1. How to drag window & Sub Application
    By William in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 12th June 2010, 04:06 PM
  2. The Drag Window Widget
    By Novabrain in forum Widgets
    Replies: 0
    Last Post: 2nd December 2007, 10:54 PM
  3. Drag Window Object in MMF 2
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st November 2007, 10:50 AM
  4. Drag window?
    By hampus in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 6th July 2007, 04:34 PM
  5. Help Needed, how do i drag the window
    By Spryz in forum File Archive
    Replies: 3
    Last Post: 9th October 2006, 05:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •