Search found 820 matches

by TiKu
27 Oct 2014, 19:33
Forum: EditControls
Topic: text becomes invisible [multiline-TextBox, readonly, win7]
Replies: 11
Views: 12591

Re: text becomes invisible [multiline-TextBox, readonly, win

I can reproduce it now. However, it might take a while to fix it.

Regards
TiKu
by TiKu
27 Oct 2014, 11:39
Forum: EditControls
Topic: text becomes invisible [multiline-TextBox, readonly, win7]
Replies: 11
Views: 12591

Re: text becomes invisible [multiline-TextBox, readonly, win

Hi,

Can you reproduce it with the PerformanceTest sample, which uses a multi-line read-only TextBox?
Which version of the control library do you use? Is the control placed inside a Frame control or a TabStrip control?

So far I cannot reproduce the problem.

Regards
TiKu
by TiKu
18 Oct 2014, 13:15
Forum: ToolBarControls
Topic: Bugs?
Replies: 9
Views: 10482

Re: Bugs?

1) Alignment is done mostly by COM (i.e. Windows itself) and it doesn't cope well with multiple COM objects having the same alignment. I'm afraid there's nothing I can do about it.

2) Seems like my fix for the crash causes this behavior. I'll try to find a better solution.
by TiKu
18 Oct 2014, 10:48
Forum: ToolBarControls
Topic: Bugs?
Replies: 9
Views: 10482

Re: Bugs?

Version 1.2.2 has been released.
by TiKu
16 Oct 2014, 21:50
Forum: ToolBarControls
Topic: Bugs?
Replies: 9
Views: 10482

Re: Bugs?

Thank you for the sample. As for the vbModal form, it is always better to use the ExecuteCommand event instead of the Click event. ExecuteCommand does not suffer from such problems and also will fire if the user presses a hotkey that you registered for a tool bar button. The alignment problem alread...
by TiKu
16 Oct 2014, 13:35
Forum: ToolBarControls
Topic: Bugs?
Replies: 9
Views: 10482

Re: Bugs?

Hi,

Can you provide a sample project that I can use to reproduce the problems?

Regards
TiKu
by TiKu
06 Oct 2014, 23:23
Forum: ToolBarControls
Topic: PNG as button image
Replies: 6
Views: 7624

Re: PNG as button image

Hi, Changing the rebar's orientation at runtime will recreate the control window. Recreation includes destroying the window. Destroying a window also destroys its child windows - the tool bar. So it might work to detach the tool bar from the rebar while changing the rebar's orientation. This can be ...
by TiKu
04 Oct 2014, 17:18
Forum: ToolBarControls
Topic: PNG as button image
Replies: 6
Views: 7624

Re: PNG as button image

See the attached file. The sample uses GDI+ to load a PNG file into an image list and use the icons for the tool bar buttons.

Regards
TiKu
by TiKu
03 Oct 2014, 08:27
Forum: ToolBarControls
Topic: PNG as button image
Replies: 6
Views: 7624

Re: PNG as button image

Hi,

Yes, this can be done, if you find a way to load the PNG into an image list. Loading a PNG into an image list should be possible. I'll try to create a sample project.

Regards
TiKu
by TiKu
01 Apr 2014, 07:58
Forum: LabelControls
Topic: Insert Unicode Text using Property Pages
Replies: 2
Views: 5468

Re: Insert Unicode Text using Property Pages

Hmm, it works for me if I copy & paste the characters into the input field. I'll have a look.
by TiKu
22 Mar 2014, 16:27
Forum: EditControls
Topic: Save textbox text to unicode and utf8
Replies: 1
Views: 4721

Re: Save textbox text to unicode and utf8

Hi, The following program requires two command buttons and a text box. It reads the file C:\MyFile.txt, which can be either UTF-16 with BOM, UTF-8 with Signature or UTF-8. And it writes the content of the text box to three different files - one for each encoding. Option Explicit Private Const FILE_A...
by TiKu
09 Mar 2014, 18:40
Forum: ExplorerListView
Topic: Scroll two ExplorerListView together
Replies: 5
Views: 7328

Re: Scroll two ExplorerListView together

This seems to be more difficult than expected. The best solution I could find doesn't involve sub-classing at all. Instead it uses the AfterScroll event: Option Explicit Private Sub Form_Load() Dim i As Long lv1.View = vDetails lv1.Columns.Add "Column 1", , 300 For i = 1 To 100 lv1.ListIte...
by TiKu
08 Mar 2014, 10:22
Forum: ExplorerListView
Topic: Scroll two ExplorerListView together
Replies: 5
Views: 7328

Re: Scroll two ExplorerListView together

I'll put something together tomorrow.
by TiKu
28 Feb 2014, 19:08
Forum: ExplorerListView
Topic: Scroll two ExplorerListView together
Replies: 5
Views: 7328

Re: Scroll two ExplorerListView together

Hi, Right now I don't have the time to create a sample project, but it should be easy. I'd subclass both controls and watch for WM_VSCROLL and WM_HSCROLL messages. Then I would duplicate these messages and send them to the slave control. To identify master and slave control, you could use GetCursorP...
by TiKu
04 Feb 2014, 07:38
Forum: ExplorerListView
Topic: Icons only in first column?
Replies: 1
Views: 4283

Re: Icons only in first column?

Hi,

As far as I know there is no simple way to circumvent this indent. The only solution that comes to my mind is to custom draw these sub-items. But this is already quite a huge effort.

Regards
TiKu