dacap / vaca

C++ Win32 wrapper to develop GUI apps
https://github.com/dacap/vaca/wiki
MIT License
99 stars 20 forks source link

toolbar feature #1

Open webroot opened 9 years ago

webroot commented 9 years ago

Hi dacap,

I am using Vaca framework for my windows app, so far i found no difficulty using vaca gui system, but now i have to add a toolbar menu with images in my app window, i saw that all Vaca's toolbar examples are commented out in vaca/examples directory, i tried to use toolbar object but did not succeed, does Vaca currently support windows toolbar feature? or do you recommend any other next efficient way that i can follow.

thanks much

dacap commented 9 years ago

Hi @webroot, some time ago I was working in a big refactor of toolbars resize logic (mainly after this commit c71ead8d94435954f1d35e83d60ab122cd396029). Anyway I've never finished that refactor, and the current state is quite unstable. I think that you could take a previous version of Vaca before that specific commit, and toolbars should work. Anyway I was hoping to upload the refactor in some near future.

webroot commented 9 years ago

thanks David,

i have figured it out that, using ToolSet class i can create a toolbar.i just had to set setRows = 1 after adding all buttons

On Wed, Sep 17, 2014 at 9:03 AM, David Capello notifications@github.com wrote:

Hi @webroot https://github.com/webroot, some time ago I was working in a big refactor of toolbars resize logic (mainly after this commit c71ead8 https://github.com/dacap/vaca/commit/c71ead8d94435954f1d35e83d60ab122cd396029). Anyway I've never finished that refactor, and the current state is quite unstable. I think that you could take a previous version of Vaca before that specific commit, and toolbars should work. Anyway I was hoping to upload the refactor in some near future.

Reply to this email directly or view it on GitHub https://github.com/dacap/vaca/issues/1#issuecomment-55844958.

Regards Abhishek Kaushik