need AKD_SETMAININFO detailed guide

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 9
Joined: Sat Oct 14, 2017 5:58 am

need AKD_SETMAININFO detailed guide

Post by TiderV »

how to use follow command change global font setting, I can't find document detailed explain each Message definition,ie when using AKD_SETMAININFO, witch lparam is used to set font?

Code: Select all

AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 129 /*MIS_DATELOG*/, 1);
can anyone give an answer ,thanks a lot!!!

Offline
Posts: 874
Joined: Sat Jan 16, 2010 2:03 pm

Post by opk44 »

1. Download Snapshot
https://sourceforge.net/p/akelpad/codes ... akelpad_4/

2. See AkelDLL.h

Code: Select all

//AKD_SETMAININFO type

...
#define MIS_DATELOGFORMAT             129  //(wchar_t *)lParam - "DateLogFormat" string.
...
#define MIS_DATELOG                   217  //(BOOL)lParam - insert date if file has .LOG at the beginning (on\off).
...
3. See example ("AkelPadManualSettings.js")
http://akelpad.sourceforge.net/forum/vi ... 2567#22567

Offline
Posts: 9
Joined: Sat Oct 14, 2017 5:58 am

Post by TiderV »

Thank you.this help greatly,but it sames that sendmessage AKD_SETMAININFO can't be used to set font...
Post Reply