| View previous topic :: View next topic |
| Author |
Message |
Surveyor
Joined: 08 Feb 2008 Posts: 145 Location: British Columbia, Canada
|
Posted: Wed Sep 16, 2009 5:13 am Post subject: |
|
|
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 |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4637
|
Posted: Wed Sep 16, 2009 5:30 am Post subject: |
|
|
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 |
|
 |
Surveyor
Joined: 08 Feb 2008 Posts: 145 Location: British Columbia, Canada
|
Posted: Wed Sep 16, 2009 5:10 pm Post subject: |
|
|
| 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 |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4637
|
Posted: Mon Sep 21, 2009 8:01 pm Post subject: |
|
|
Added: icons for print preview, split all, split vertical, split horizontal.
ToolBar plugin v4.9 |
|
| Back to top |
|
 |
FeyFre
Joined: 07 Aug 2007 Posts: 1888 Location: Vinnitsa, Ukraine
|
Posted: Sat Sep 26, 2009 1:39 pm Post subject: |
|
|
Подскажите, чего оно не фурычит? | 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 |
|
 |
Xephon
Joined: 03 Jun 2008 Posts: 117
|
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4637
|
Posted: Sat Sep 26, 2009 10:32 pm Post subject: |
|
|
FeyFre
В оригинале кнопки имеют вид:
| Code: | # Split all
#-"" Command(4212) Icon(22)
# Split vertical
#-"" Command(4213) Icon(23)
# Split horizontal
#-"" Command(4214) Icon(24) |
|
|
| Back to top |
|
 |
FeyFre
Joined: 07 Aug 2007 Posts: 1888 Location: Vinnitsa, Ukraine
|
Posted: Sat Sep 26, 2009 11:18 pm Post subject: |
|
|
Уже так и сделал. Вроде бы работает.
(если честно я не очень и разбирался с этими дополнительными флажками "+" "-", потому и пока не понимаю когда их ставить нужно и не нужно) |
|
| Back to top |
|
 |
Infocatcher
Joined: 06 Aug 2007 Posts: 1431
|
Posted: Sun Sep 27, 2009 7:37 pm Post subject: |
|
|
Кнопка:
| Code: | | "Открыть в Internet Explorer" Exec('"%PROGRAMFILES%\Internet Explorer\iexplore.exe" "%f"') Icon("%PROGRAMFILES%\Internet Explorer\iexplore.exe") |
В Exec() %PROGRAMFILES% работает, а в пути к иконке – нет. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4637
|
Posted: Tue Sep 29, 2009 2:57 pm Post subject: |
|
|
Added: expand environment strings for Icon().
ToolBar plugin v5.0 |
|
| Back to top |
|
 |
FeyFre
Joined: 07 Aug 2007 Posts: 1888 Location: Vinnitsa, Ukraine
|
Posted: Sat Oct 03, 2009 10:38 pm Post subject: |
|
|
Хм... не знаю, это скорее всего в самом акеле что-то не учтено
Создал кнопки | Code: | "" Command(4428) Icon("%a\AkelFiles\Plugs\Toolbar\back.ico")
"" Command(4427) Icon("%a\AkelFiles\Plugs\Toolbar\forward.ico") | Ну и естественно ожидаю что если окно не разделено - кнопки будут запрещены, а если разделено - разрешены. Но они запрещены всегда, приходится ставить минус перед "", но они тогда разрешены всегда, что ничуть не лучше чем без минуса. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4637
|
Posted: Sun Oct 04, 2009 10:41 am Post subject: |
|
|
FeyFre
Команд 4428 и 4427 нету в главном меню программы, поэтому перед этими пунктами должен стоять минус, а также, чтобы появлялись всплывающие подсказки, их необходимо назвать.
Пояснение по методу Command() без минуса: состояние кнопки Toolbar'а копирует состояние пункта в главном меню. Если пункт отмечен галочкой, то кнопка будет вдавленной. Если пункт неактивен, то и кнопка будет неактивной. Если же пункт в главном меню отсутствует, то кнопка также будет неактивной. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4637
|
Posted: Wed Oct 14, 2009 4:30 pm Post subject: |
|
|
Added: variable - %m tool bar ID (handle).
Added: variable - %i button item ID.
ToolBar plugin v5.1 |
|
| Back to top |
|
 |
Veros
Joined: 29 Jun 2008 Posts: 6
|
Posted: Sun Nov 08, 2009 3:48 am Post subject: |
|
|
| А можно ли сделать возможность запуска текущего файла по ассоциации в windows. Чтобы не использовать rundll32.exe |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4637
|
Posted: Sun Nov 08, 2009 7:49 am Post subject: |
|
|
Veros
Можно например с помощью скрипта: ExecShell.js |
|
| Back to top |
|
 |
|