|
Hi,
I'm using a custom CListCtrl to display my configuration settings, but I want to separate different sections with an item which has a different background colour.
Is it possible to change the background colour of a single item?
TIA
Tony
|
|
|
|
|
|
In addition to <<_Superman_>> answer, if you want to perform yourself the task then checkout this article [^] and have a look at the source code.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Excellent,
Just what I needed.
Thanks guys.
Tony
|
|
|
|
|
You are welcome.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi to all.
I have a CTabCtrl on my CDialog containing two tabs, I've added two dialog window (style child, border none) to those tabs. When my second tab is selected (shows second wnd) a resizing mark is shown on right bottom corner. This is not happening with first tab. How cam I remove that mark?
I don't want to have resizing option, the tab rectangle is sufficient to hold the biggest dialog size.
Hope I've made myself clear, and thanks in advance.
|
|
|
|
|
I'll try to explain again in hope of yours help.
one of my tabs contains an CDialog based window (myDlg), the problem is when tab is selected (shown) a myDlg window is shoving a resizing triangle in right down corner (also when resizing myDlg goes blank white ). How can I remove that triangle, myDlg is created with child style and border: none
|
|
|
|
|
Solved.
I totally forget about resizing class included for my dlg. Sorry for my mistake.
|
|
|
|
|
Hi all,
please tell me how can i handle a function when exe close from task manager.
please explain me with example.
thanks in advance.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
What do you mean by "handle a function" ?
|
|
|
|
|
like use Messagebox on closing.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
When an executable is 'killed' from task manager (by choosing "End Process"), the process will die abruptly and silently. I don't think there's a chance given to the process itself to execute any code in such a case. This is by design.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
If the user tries to close your app from the task manager on the Applications page (End Task), you can handle that by catching the WM_CLOSE message. However, it the user kills your app from the Processes page (End Process), then you're probably out of luck.
Hope that helps.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
thanks.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
Hi,
I run a application uses command line. After running, it provides a monitor console for interacting with it. It also takes a command to intract i.e CTRL-ALT-2. How I can give this command through any other method. My mean to say using programming, How could I do that?
|
|
|
|
|
Hi All
How to create excel 2007 file through vc code?Plz help me
|
|
|
|
|
|
Hi superman
i use 2nd link which is given by you.I go through step by step but i got error
: error C3861: 'AutoWrap': identifier not found
|
|
|
|
|
AutoWrap problem solve.
But how can i save this file like(C:\add.xlsx).
|
|
|
|
|
MsmVc wrote: But how can i save this file like(C:\add.xlsx).
Use the Workbook::Save() method.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
|
Hi,
I need to export some Registry Keys in HKCU in my application, so I simply make a call to regedit and user commandlineparameters /s /e to export these keys to a file. This used to work fine, but under Windows 7, everytime I call regedit I get an annoying message from UAC asking the user to allow this (in my eyes really uncritical) action.
Do you have any suggestion how I can easily export a whole registry key to a reg-file, without getting a UAC warning?
|
|
|
|
|
You need to elevated privileges to run <code>regedit.exe</code>.
So you either select allow from the UAC prompt or run <code>regedit.exe</code> from an elevated process.
For example, if you run <code>cmd.exe</code> in elevated mode and then run <code>regedit.exe</code> from this command prompt you will not be asked whether to allow or deny.
|
|
|
|
|
Will RegSaveKeyEx() work for you?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Hello Friends
I am having one file in java tht is having one class with two functions.
I want to use that function in My another c++ application.
Is that Possible?
Or PLease Suggest me some other Ideas?
Thanks IN Advance.
Regards
Yogesh Sikri
|
|
|
|