Sign in to follow this  
Followers 0
Timur

A little bit trouble.

6 posts in this topic

How to change "Window Blue-line", that moves the window => to the picture?

I need:

When Pressing mouse1 on the picture and move mouse, the window moves. Thanks :whistle:.

пс русские есть?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Have you tried to set the picture-style to $GUI_WS_EX_PARENTDRAG ?

Edit : Maybe this is close to what you want....

#include <GUIConstants.au3>

GUICreate("", 160, 160, -1, -1, $WS_POPUP)
GUICtrlCreatePic(@WindowsDir & "\Jade.bmp", 0, 0, 160, 160, -1, $GUI_WS_EX_PARENTDRAG)
GUISetState()

Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE

Edit II : Ehm, v2 ?

Edited by Helge

Share this post


Link to post
Share on other sites

Thanks. I trough i used all styles at GuiCreate and Createpic...

Thanks a lot!

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Another requestion:

Is it possible to make diferent-collored text in the EDIT?

Edited by Timur

Share this post


Link to post
Share on other sites

In the EDIT?

$Input1 = GUICtrlCreateInput("", 232, 144, 121, 21)

GUICtrlSetColor(-1, 0xFF0000)

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

You didn't understood..

I need to have different color text in same time in edit.

IT'S EDIT:

1st part of text of edit

2nd part of text of edit

Also: could i enable UTF-8 Encoding/Decoding in Edit? Thanks alot!

Edited by Timur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0