AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Toolbar plugin
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 24, 25, 26  Next
 
Post new topic   Reply to topic    AkelPad Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
Surveyor



Joined: 08 Feb 2008
Posts: 146
Location: British Columbia, Canada

PostPosted: Wed Sep 16, 2009 5:13 am    Post subject: Reply with quote

Instructor,
Instructor wrote:
You have the same result with 4.3.0 and 4.3.1?

No - result is fine with AkP v4.3.0 (and ToolBar v4.8.0), but with AkP v4.3.1 (and ToolBar v4.8.0), problem still exists - no difference between 3D and flat. Have you changed the Windows function? - notice different appearance in v4.3.1 images.



While you are checking, I notice that tabs, etc. in Settings... (and others) dialog have changed, along with text entry boxes (especially if disabled). Nice look(!), but something here has changed and this affects ToolBar buttons.
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Wed Sep 16, 2009 5:30 am    Post subject: Reply with quote

Surveyor
Quote:
Added: manifest in program resources.
This means that if you use visual styles on windows and buttons, then modern look is used and you have above behavoiur with 3D ToolBar look. If you turn off visual styles on windows and buttons, you will get 4.3.0 behavior.
Back to top
View user's profile Send private message Send e-mail
Surveyor



Joined: 08 Feb 2008
Posts: 146
Location: British Columbia, Canada

PostPosted: Wed Sep 16, 2009 5:10 pm    Post subject: Reply with quote

Instructor wrote:
If you turn off visual styles on windows and buttons, you will get 4.3.0 behavior.

Yes, it works! Thanks - I wasn't aware of the implications of a manifest file, until now. Windows' complexity is one of the reasons I never got into Windows programming... (my 59 year old brain just can't handle it!)

For benefit of anyone reading this reply:
GLOBAL change:
Code:
Control Panel/System/Advanced/Performance_settings/"Use visual styles on windows and buttons"


LOCAL change:
Code:
right-click on the (installed) executable - AkelPad.exe - and select the Compatibility tab; "Disable visual themes".


But... GLOBAL change makes Windows XP VERY UGLY, naturally! I will put this "tip" into next releases of User Manual (not sure where yet) and Plugins Manual (ToolBar). In the meantime, I will search the net for a possible registry "hack" to just tweak JUST buttons, if it is even possible. More on this topic if I find out how to modify just button appearance.
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Mon Sep 21, 2009 8:01 pm    Post subject: Reply with quote

Added: icons for print preview, split all, split vertical, split horizontal.


ToolBar plugin v4.9
Back to top
View user's profile Send private message Send e-mail
FeyFre



Joined: 07 Aug 2007
Posts: 2061
Location: Vinnitsa, Ukraine

PostPosted: Sat Sep 26, 2009 1:39 pm    Post subject: Reply with quote

Подскажите, чего оно не фурычит?
Code:
SEPARATOR
#Split 4
"" Command(4212) Icon(22)
#Split V
"" Command(4213) Icon(23)
#Split H
"" Command(4214) Icon(24)
Первая кнопка работает т.е. разрешенна, нажимается и включает и выключает разделение. Остальные - "серые"-запрещены всегда, да и не видно что эта засеренность правильная - вижу темносерый квадартик с белой рамкой. Что где подкрутить? AkelPad в MDI режиме.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Xephon



Joined: 03 Jun 2008
Posts: 124

PostPosted: Sat Sep 26, 2009 3:50 pm    Post subject: Reply with quote

FeyFre, http://akelpad.sourceforge.net/forum/viewtopic.php?p=3313#3313
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Sat Sep 26, 2009 10:32 pm    Post subject: Reply with quote

FeyFre
В оригинале кнопки имеют вид:
Code:
# Split all
#-"" Command(4212) Icon(22)

# Split vertical
#-"" Command(4213) Icon(23)

# Split horizontal
#-"" Command(4214) Icon(24)
Back to top
View user's profile Send private message Send e-mail
FeyFre



Joined: 07 Aug 2007
Posts: 2061
Location: Vinnitsa, Ukraine

PostPosted: Sat Sep 26, 2009 11:18 pm    Post subject: Reply with quote

Уже так и сделал. Вроде бы работает.
(если честно я не очень и разбирался с этими дополнительными флажками "+" "-", потому и пока не понимаю когда их ставить нужно и не нужно)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Infocatcher



Joined: 06 Aug 2007
Posts: 1648

PostPosted: Sun Sep 27, 2009 7:37 pm    Post subject: Reply with quote

Кнопка:
Code:
"Открыть в Internet Explorer" Exec('"%PROGRAMFILES%\Internet Explorer\iexplore.exe" "%f"') Icon("%PROGRAMFILES%\Internet Explorer\iexplore.exe")

В Exec() %PROGRAMFILES% работает, а в пути к иконке – нет.
Back to top
View user's profile Send private message Visit poster's website
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Tue Sep 29, 2009 2:57 pm    Post subject: Reply with quote

Added: expand environment strings for Icon().


ToolBar plugin v5.0
Back to top
View user's profile Send private message Send e-mail
FeyFre



Joined: 07 Aug 2007
Posts: 2061
Location: Vinnitsa, Ukraine

PostPosted: Sat Oct 03, 2009 10:38 pm    Post subject: Reply with quote

Хм... не знаю, это скорее всего в самом акеле что-то не учтено
Создал кнопки
Code:
"" Command(4428) Icon("%a\AkelFiles\Plugs\Toolbar\back.ico")
"" Command(4427) Icon("%a\AkelFiles\Plugs\Toolbar\forward.ico")
Ну и естественно ожидаю что если окно не разделено - кнопки будут запрещены, а если разделено - разрешены. Но они запрещены всегда, приходится ставить минус перед "", но они тогда разрешены всегда, что ничуть не лучше чем без минуса.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Sun Oct 04, 2009 10:41 am    Post subject: Reply with quote

FeyFre
Команд 4428 и 4427 нету в главном меню программы, поэтому перед этими пунктами должен стоять минус, а также, чтобы появлялись всплывающие подсказки, их необходимо назвать.

Пояснение по методу Command() без минуса: состояние кнопки Toolbar'а копирует состояние пункта в главном меню. Если пункт отмечен галочкой, то кнопка будет вдавленной. Если пункт неактивен, то и кнопка будет неактивной. Если же пункт в главном меню отсутствует, то кнопка также будет неактивной.
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Wed Oct 14, 2009 4:30 pm    Post subject: Reply with quote

Added: variable - %m tool bar ID (handle).
Added: variable - %i button item ID.


ToolBar plugin v5.1
Back to top
View user's profile Send private message Send e-mail
Veros



Joined: 29 Jun 2008
Posts: 6

PostPosted: Sun Nov 08, 2009 3:48 am    Post subject: Reply with quote

А можно ли сделать возможность запуска текущего файла по ассоциации в windows. Чтобы не использовать rundll32.exe
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Sun Nov 08, 2009 7:49 am    Post subject: Reply with quote

Veros
Можно например с помощью скрипта: ExecShell.js
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Plugins All times are GMT
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 24, 25, 26  Next
Page 8 of 26

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group