|
|
Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » OptionImage ctrl: how to make it better...
|
Re: OptionImage ctrl: how to make it better... [message #2488 is a reply to message #2487] |
Fri, 14 April 2006 09:26 |
|
mirek
Messages: 14000 Registered: November 2005
|
Ultimate Member |
|
|
mr_ped wrote on Fri, 14 April 2006 03:01 | I did check my test projects, and I did use "Insert any file" too to add files to my package.
Mirek: what's the real difference between those two?
I think (from what I see) they both work in the same way: add the file to the package. The only difference is that the first one makes the path relative, the second one absolute.
But both ways will make any added .cpp file to compile when I hit "Build", so it looks that "any file" belongs to main package anyway.
I think the context menu naming is somewhat confusing in such case (if that's the only difference).
Actually I would prefer single "Insert file" menu in such case, with option "absolute path ON/OFF", which would be set to OFF by default.
Or maybe "Insert any file" should switch the selection from package to "prj-aux" or what's appropriate? And to not add such file to build process (as I believe only package files should be involved in the building process of package).
I'm still a bit confused by packages (I understand them as "libraries" in C terminology), so maybe I don't understand it correctly, but I think TheIDE is right now a bit confusing with those 2x "Insert file". (And the "any file" one was easier to find for me, I never realised there was the package one on the first line (ignored it always) until I read this topic)
|
Sorry about confusion. I guess this is classical case where you have to choose between stronger and easier to use feature set.
It is true that "Insert any file.." for regular package is (should be..) very seldom used, however it can have advantages sometimes (e.g. experimenting with 3rd party code).
Mirek
|
|
|
|
|
Goto Forum:
Current Time: Sat Jul 27 17:47:52 CEST 2024
Total time taken to generate the page: 0.02233 seconds
|
|
|