|
Thanks for the prompt response. I got to the MicroAngelo home page but there is no link to the *.icl "structure" (format). Anyway, I could get some information on all that is included in the *.icl. I can easily load the images/icons, however, just in case some of the information there could be of interest.
BTW, do you know of sources I could use to create the simple dll/icl files from my own programs?
Best regards,
Paul.
Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for programming contract anywhere!
|
|
|
|
|
The last I looked, which admittedly was a couple of years ago, ICL files were 16-bit DLLs, so the Win32 APIs won't work with them. (I don't think you can even do a LoadLibrary() on a 16-bit DLL from 32-bit code.)
The tiny description of ICL on Wotsit's Format says:An .ICL file -- ICon Library, as used by icon editors like Microangelo -- is a renamed 16-bit Windows .DLL (an NE format executable) which typically contains nothing but a resource section. The ICL extension seems to be used by convention. I don't know where MacroAngelo stores its additional info in the file.
--Mike--
My really out-of-date homepage
He who laughs last, didn't get the punchline and is just laughing so he won't look silly.
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
Hi,
if you are interested in resource-only DDLs you could read my article
at http://www.codeproject.com/dll/iconsst.asp
Bye!
SoftechSoftware
Davide Calabro'
davide_calabro@yahoo.com
http://www.softechsoftware.it
|
|
|
|
|
Davide Calabro wrote:
if you are interested in resource-only DDLs you could read my article
at http://www.codeproject.com/dll/iconsst.asp
Thanks, no really. I know how to create resource only dll with the VC+. I was hoping for a simple resouce compiler sources (in my response to Mike)
Best regards,
Paul.
Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for programming contract anywhere!
|
|
|
|
|
when i Textout an char each time, there would be a leading space which would be too large when the space is set to tmMAXWIDTH, or it can not align properly when use GetTextExtentPoint32 to get the font size and adjust the space according the font size.
what's the solution of this problem?
thanks
one is the other who absorbs the thoughts of others
|
|
|
|
|
if i have a pointer to a variable, how using the pointer can the variable be changed?
|
|
|
|
|
The * (dereference) operator:
int *vpiPointer;
int viSomeValue = 5;
vpiPointer = &viSomeValue;
*vpiPointer = 3;
ASSERT(viSomeValue == 3);
------------------------
Derek Waters
derek@lj-oz.com
|
|
|
|
|
I am having trouble with the behaviour of popup windows. I have a graphing program the displays 4 graphs. I want to select a graph and have it display in a new dialog, that can be moved around or minmized (much like Matlab plots)
How can I make these dialogs stop covering the main dialog and go to the back?? (they cover up the main program even if not active)
When they are minimised they do not enter the task bar but rather float above it. Is it possible to make them enter the task bar in WinNT??
I am using a new class CPopChart to start a new chart dialog from my original dialog with
class CDialog : OnPopChart() {
CPopChart pchart;
pChart.Create(IDD_POPUP,pWnd);
};
---
|
|
|
|
|
I don't know if you can make them enter the task bar, to do that they need their own WndProc. But to send them to the back use ::SetWindowPos(&wndBackMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
Christian
I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
Thanks but what I want is to send my new dialogs behind the main program/dialog , SetWindowPos() only sends them behind the other new dialogs but not the main one.
---
|
|
|
|
|
are your popup dialogs modeless?
if so is the problem you face this :- when you click on the parent window, your popups still stay on top.
Is that your problem?
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
Yep
Do you know a way around this??
---
|
|
|
|
|
Use GetDesktopWindow and set the desktop as the parent window of your modeless dialogs. Now you'll be able to put those popups behind your main app and you'll also be able to minimize them to the task bar
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
The wonders never cease - exactly what I wanted
Thanks a lot
---
|
|
|
|
|
This is a facet abt modeless dialogs that a lot of people are confused about.
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
Hi,
I want to retrieve unc path for folder and folder shortcut displayed under “My Network Places”. In Windows Explorer, you can see unc path for folder shortcut as “Comment ”.
Help would be appreciated.
Thanks
|
|
|
|
|
I've been getting into the std lib recently.
Have just been trying out map and multimap containers, and while the code compiles I get loads of warnings such as C4786. Seems to be compaining the class name is too long. Anyone experienced this, or how best to clean up code that produces this error?
I'm doing a drill down on a database using a tree control so I want to remember a simple key to locate a node I may or may not have inserted yet?
class CNodeLookup : public map<CString, HTREEITEM>
{
public:
CNodeLookup()
{
}
virtual ~CNodeLookup()
{
}
};
Thanks in advance,
Giles
|
|
|
|
|
It's a known issue with VC, you just pragma the warning and it will go away ( it's not actually a problem )
Christian
I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
I have a Warnings.h which I use to tell VC++ to STFU
example:
#pragma warning(disable:4786) // identifier was truncated to '255' characters in the browser information
Todd Smith
|
|
|
|
|
Thanks guys, thought it was my sloppy coding .
Giles
|
|
|
|
|
if you want to get real good error messages while stl - coding go for the "stl - message - decryptor" from BD Soft
it handles all these warnings and makes the stl - related error messages much more readable..
(the article is posted on codeproject too)
the installation of this tool was a little bit a pain in the behind.. but now i think it is worth it.. i like it and would never code stl without it again..
hope this could help a little bit
bernhard
Sometimes I think the surest sign for intelligent life elsewhere in
the universe is that none of them ever tried to contact us.
|
|
|
|
|
Hey!
Let's say through the ClassWizard I have a variable
attached to a CEdit control. When I type a small
number (like 0.00000001), the number changes to
"1e-008" automatically, which isn't what I want.
How do I go about changing this default behavior?
Steve The Plant
|
|
|
|
|
Sounds like you bound a data variable (like a double, or float) instead of a control class (like CEdit), and letting MFC do the value-to-text & text-to-value conversions for you.
Bind a CEdit to the edit control, and handle the display/conversion yourself.
Or, you could write your own DDX routine to format the value as you like. Look up "TN026" in MSDN for more information.
Peace!
-=- James.
|
|
|
|
|
Here's the scenerio
I have created a app using appwiz(VC++6) and have selected the doc/view arch. Now what i'd like to have is custom app wide properties in the CMainFrame class which are modified via dialogs. The dialog is constructed as a member of CMainFrame. I can transfer data from the dialog to CMainFrame no probs, but how can i do the same for my custom CView class. CView has it's own custom members used for drawing, but part of the drawing process requires info stored in CMainFrame. You swap data between CView and CDocumnet with the GetDocument() is there anyway to get the data(custom member) from CMainFrame. I managed to used globals, but doesn't this defeat the purpose OOP? I would like a more OOD<smiles> To do this would i have to construct CView and CDocument in CMainFrame rather than settle for the appwiz default of dynamic creation using CDocTemplate() and such...?
pardon my lack of clarity
TIA
Alex deltabravo@mb.sympatico.ca
"An expert is someone who has made all the mistakes in thier field" - Niels Bohr
|
|
|
|
|
You can do this in your CView derived class.
((CMainFrame*)AfxGetMainWnd())->m_yourCustomMemberVariable;
HTH
Jignesh
|
|
|
|