Welcome Guest.   Make a donation to an author on the site July 29, 2010, 03:39:16 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the Practical Guide to DonationCoder.com Forum Search Features
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: IDEA: Make window transparent when moving it.  (Read 5301 times)
cheeaun
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« on: September 29, 2006, 12:19:05 PM »

When moving a window, (Click + Drag), the window becomes semi-transparent. That's all.

Can be done?  Wink
Logged
AndyM
Charter Member
***
Posts: 379


View Profile Give some DonationCredits to this forum member
« Reply #1 on: September 29, 2006, 08:02:07 PM »

There's a Display setting, under Appearances>Effects, that toggles "show window contents while dragging".  If you turn this off, is this what you want?
Logged
cheeaun
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #2 on: September 29, 2006, 08:16:52 PM »

uh, no. I just want the window the be alpha-transparent, maybe 50%, while the window is moved with the cursor.
Logged
nudone
Columnist
***
Posts: 3,262



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: September 29, 2006, 11:34:51 PM »

there's plenty of free utils that can do this - i thought someone would have mentioned one by now.

OR, i might be just mistaking it with the way nvidia cards can do it with the options they add to the display properties config.

if i remember the name of a program that does it, i'll post again.
Logged

jgpaiva
Global Moderator
*****
Posts: 4,174



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: September 30, 2006, 04:15:38 AM »

I have tried to do this in ahk (it's about 10 lines of code), but my first experiment didn't work, possibly because of a, ahk bug (or i'm really dumb).
I'll post in the ahk forum the info about this to see if i get any response.
Logged

Blaster
Honorary Member
**
Posts: 82



View Profile Give some DonationCredits to this forum member
« Reply #5 on: September 30, 2006, 06:52:06 AM »

I wrote something that can help you if you are moving Forms by clicking on it, not the captionBar...
if this can help you...

[copy or print]
bool draging=false;
bool a=false;

void MoveForm()
{
ReleaseCapture();
SNDMSG( Form1->Handle, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, 0 );
}


__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormMouseDown(TObject *Sender, TMouseButton Button,
  TShiftState Shift, int X, int Y)
{
draging=true;
a=true;


}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormMouseMove(TObject *Sender, TShiftState Shift, int X,
  int Y)
{
if(a)
{
if(draging)
{
Form1->AlphaBlendValue=127;
MoveForm();
Form1->AlphaBlendValue=255;
}
}
a=false;


}

This, off course, could be written better, but i'm in a hurry... :-)
« Last Edit: September 30, 2006, 07:04:39 AM by Blaster » Logged
jgpaiva
Global Moderator
*****
Posts: 4,174



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: September 30, 2006, 08:05:06 AM »

Here's your solution!


TransparentMove v1 created 30-09-2006:
Quote
When the user presses ctrl and drags the window, it becomes trasnparent and is moved.
[Forum Topic][.ahk Version][.exe Version]
Logged

Blaster
Honorary Member
**
Posts: 82



View Profile Give some DonationCredits to this forum member
« Reply #7 on: September 30, 2006, 11:28:03 AM »

I don't understand, do you need this for your app, or for any window in your OS...??
Logged
jgpaiva
Global Moderator
*****
Posts: 4,174



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: September 30, 2006, 12:43:01 PM »

I don't understand, do you need this for your app, or for any window in your OS...??
Notice that the solution i presented above is a complete program. You download the ".exe" version, execute it and it'll display an icon on the tray (which should be in the right corner of the screen). To quit it, just right-click the icon and select "exit".
Logged

Blaster
Honorary Member
**
Posts: 82



View Profile Give some DonationCredits to this forum member
« Reply #9 on: October 01, 2006, 02:39:01 AM »

No, no, jgpaiva, I downloaded your app and it's ok...
 i asked cheeaun this because he said:

Quote
When moving a window, (Click + Drag), the window becomes semi-transparent. That's all.

Can be done? 


Cheeaun, do you need this in your app, or do you want your OS to behave like this...??


Logged
jgpaiva
Global Moderator
*****
Posts: 4,174



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: October 01, 2006, 04:00:24 AM »

No, no, jgpaiva, I downloaded your app and it's ok...
embarassed embarassed Sorry, i misread your post and understood you were cheeaun  embarassed embarassed
Logged

lanux128
Global Moderator
*****
Posts: 5,092



plarker lanux128 see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: October 01, 2006, 09:11:52 PM »

cheeaun: are you the phoenity guy, by any chance?
Logged

nite_monkey
Member
**
Posts: 561


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: October 20, 2006, 08:50:22 PM »

you meen the transparent view that microsoft made in there os which makes the window transparent when you drag it, slowing down a slow computer?
edit: you know, that may have just been somthing added by nvidia... my bad
« Last Edit: October 20, 2006, 08:52:12 PM by nite_monkey » Logged

[Insert really cool signature here]
Pages: [1]   Go Up
  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
SMF © 2006-2009, Simple Machines LLC

social bookmark this page