EldoS | Feel safer!

Software components for data protection, secure storage and transfer

add a new shortcut on the right click menu of the disk

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#26816
Posted: 10/15/2013 08:02:11
by Youssouf SAKO (Basic support level)
Joined: 10/08/2013
Posts: 12

Hello,

I want to know these two things:

1: is that CBFS provides a way to add a new shortcut on the right click menu of a mounted disk?

2: is that CBFS provides a way to changes the icon of the disk in the explorer?

Youssouf
#26818
Posted: 10/15/2013 08:33:11
by Eugene Mayevski (EldoS Corp.)

Quote
Youssouf SAKO wrote:
1: is that CBFS provides a way to add a new shortcut on the right click menu of a mounted disk?


No, this is beyond the scope of functionality of CBFS.

Quote
Youssouf SAKO wrote:
2: is that CBFS provides a way to changes the icon of the disk in the explorer?


Yes, see InstallIcon and SetIcon methods in CBFS.


Sincerely yours
Eugene Mayevski
#26819
Posted: 10/15/2013 08:36:14
by Youssouf SAKO (Basic support level)
Joined: 10/08/2013
Posts: 12

OK, Thank you

Youssouf
#26821
Posted: 10/15/2013 09:55:50
by Youssouf SAKO (Basic support level)
Joined: 10/08/2013
Posts: 12

I have tried to add an icon to my disks but it don't work well. The attached image shows what i get.

My code is:

Code
BOOL reboot=false;
     cbfs.InstallIcon(L"favicon.ico",L"111111222",&reboot);

     if(reboot)
        cout<<"the system need to be reboot"<<endl;
     else
        cout<<"Icon Set"<<endl;

     cbfs.SetIcon(_T("111111222"));


Youssouf


#26825
Posted: 10/15/2013 11:27:19
by Eugene Mayevski (EldoS Corp.)

Yes, the icon is overlayed. Please refer to documentation for details .


Sincerely yours
Eugene Mayevski
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Reply

Statistics

Topic viewed 694 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!