Search found 130 matches

by Mex
05 Dec 2013, 07:57
Forum: EditControls
Topic: CueBanner & LeftMargin
Replies: 2
Views: 4853

CueBanner & LeftMargin

Hi Timo,

Setting LeftMargin>0 cuts cuebanners text from left, is this by default or a bug?


Regards
Meelis
by Mex
17 Oct 2013, 14:05
Forum: ButtonControls
Topic: DataField
Replies: 5
Views: 6862

Re: DataField

Danke schön! :)
by Mex
16 Oct 2013, 12:52
Forum: ExplorerTreeView 2.x
Topic: StateImage and Spacebar
Replies: 2
Views: 5163

Re: StateImage and Spacebar

Hi, I currently don't have access to the source code, but if I remember the implementation correctly, the native tree view control doesn't have explicit support for state image 0. And it assumes that the state image always is a check box. So I would call it "missing functionality". You ca...
by Mex
16 Oct 2013, 11:44
Forum: ExplorerTreeView 2.x
Topic: StateImage and Spacebar
Replies: 2
Views: 5163

StateImage and Spacebar

Hi

I think I found a bug or maybe it's a feature :)

1) Add some nodes with stateimage set to 0
2) select node and press spacebar - state image is set to 1 and now i can check/uncheck it


Regards;
Meelis
by Mex
11 Oct 2013, 15:06
Forum: TabStrip
Topic: Autofill or Dock
Replies: 1
Views: 4250

Autofill or Dock

Hi, its me... again :D Maybe you know a better solution for the following problem. Let's say I have a TabStrip and a Frame control on it. Currently i'm calculating Frame's height and with in form_resize event, to fill frame to TabStrip. Sometimes I want to use TabStrip Align property (Align-Top) and...
by Mex
09 Oct 2013, 07:32
Forum: ButtonControls
Topic: DataField
Replies: 5
Views: 6862

Re: DataField

Hi, Thnx, but where I really need DataField property is CheckBox control. I have my own cotnrol what handles all databinding and communication and datafield property is really important. Currently i'm using for workaround a Tag property, but in some cases I need Tag property for other values :( Rega...
by Mex
06 Oct 2013, 16:42
Forum: ButtonControls
Topic: DataField
Replies: 5
Views: 6862

DataField

Hi

I know you removed the databinding functionality, but is it possible to restore the DataField property (CheckBox,TextBox), just for simple get;set using?


Best Regards
Meelis
by Mex
05 Oct 2013, 17:17
Forum: ToolBarControls
Topic: Toolbar as Menubar and fonts
Replies: 9
Views: 9547

Re: Toolbar as Menubar and fonts

OK improved the code and now all gdi objects are destroyed.
of course mu gdi, api skills are zero :D, but its working and gdi objects are not growing anymore :).

Thank you again!


Meelis
by Mex
05 Oct 2013, 16:39
Forum: ToolBarControls
Topic: Toolbar as Menubar and fonts
Replies: 9
Views: 9547

Re: Toolbar as Menubar and fonts

Thank you!

Maybe you know any other good solution how to change menu font or just increase font size ?
by Mex
05 Oct 2013, 15:05
Forum: ToolBarControls
Topic: Toolbar as Menubar and fonts
Replies: 9
Views: 9547

Re: Toolbar as Menubar and fonts

OK is it normal - if you start the program there are (lets say) 200 GDI objects. Click on first menu, GDI objects are now 206. Close menu. GDI objetcs 205. Open menu GDI objetcs 212 aso. In my application after 10 min using there was over 1000 GDI objects and this only after clicking on menus :) You...
by Mex
05 Oct 2013, 11:05
Forum: ToolBarControls
Topic: Toolbar as Menubar and fonts
Replies: 9
Views: 9547

Re: Toolbar as Menubar and fonts

Well, the sub menus are popup menus (CreatePopupMenu) and Windows doesn't provide a way to customize the font of menu items. So the only way would be make the popup menus owner-drawn. I do this in the Office Style sample app. In this sample, I do not change the font of sub menu items, but I owner-d...
by Mex
05 Oct 2013, 10:59
Forum: ToolBarControls
Topic: Toolbar as Menubar and fonts
Replies: 9
Views: 9547

Re: Toolbar as Menubar and fonts

Found another solution, but this code has a nasty GDI leak.
http://www.vbforums.com/attachment.php? ... 1156934327
by Mex
05 Oct 2013, 10:16
Forum: ToolBarControls
Topic: Toolbar as Menubar and fonts
Replies: 9
Views: 9547

Toolbar as Menubar and fonts

Hi Timo!

Do You have any examples how to customize menu font and size?
I can change main menus font and size, but how about sub items?


Best Regards
Meelis
by Mex
05 Feb 2013, 20:01
Forum: Programming
Topic: Balloon Tooltip
Replies: 4
Views: 6479

Re: Balloon Tooltip

You want to display a tool tip for minimized MDI child windows? I don't know of any "official" way to do this, but my approach would be to create a tool tip and add the window as a tool when it gets minimized and remove/detach it when it gets restored. Yep, thats what I did and works fine!
by Mex
05 Feb 2013, 19:12
Forum: Programming
Topic: MinWidth
Replies: 1
Views: 4074

MinWidth

One more strange question :)
If MDI child window is minimized then window size is 160x31?

Is there a way to set custom width, lets say 250x31?


Meelis