|
CPallini wrote: (if VB.NET is not an option).
VB is never an option.
The wonderful thing about the Darwin Awards is that everyone wins, especially the members of the audience.
|
|
|
|
|
Charles Petzold is excellent, although aimed at a (very) technical audience. C++ may also not be the language for you (as a beginner). C# or Vb.Net tutorials may be a starting point. Java is also an option.
|
|
|
|
|
Michel Godfroid wrote: C++ may also not be the language for you (as a beginner).
There's two schools of thought here; some people think it's better learning from the bottom up.
Steve
|
|
|
|
|
I'll flog him asm next time. Builds character and perseverance. There's no reason these youngsters should suffer any less than we did during the Great War.
|
|
|
|
|
Stephen Hewitt wrote: There's two schools of thought here; some people think it's better learning from the bottom up.
I do. The Graussian School is for the opposite.
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]
|
|
|
|
|
Sometimes hiring somebody to do the programming for you is a better option. You may be geared to leading other people (as a boss), not programming.
|
|
|
|
|
Well if you want C++, go Command Line if your a beginner.
If you want a GUI go with VB or Java if you want something worth of your time.
|
|
|
|
|
Hi
I was trying to register a type library on Windows 7 OS. I ran the command prompt as "Run as Administrator" and tried to register my bunch of type libraries in a batch but it fails with Error code 8002801C (Access denied) .
Later I replaced Regtlibv12.exe with Regtlib.exe in my batch file. All the type libraries registered successfully.
Can anyone tell me the diffrence. Thanks in Advance.
|
|
|
|
|
how to delete whole columns in list view /win32
|
|
|
|
|
|
after running ListView_deleteColoum in a loop ..
still its not deleting the first coloumn
|
|
|
|
|
From MSDN[^]:
Remarks
Column zero of the list-view control cannot be deleted. If you must delete column zero,
insert a zero length dummy column zero and delete column one and above.
|
|
|
|
|
Hi,
I have an Dialog based application. In which I created the Dialog and derived the class for that Dialog box. I write OnInitDialog() function inside derived class but it's not getting called when I call DoModal For that dialog.
I am calling DoModal from the Main dialog class which gets created when project creted. Systax for calling is below:
void CtestDialog2Dlg::OnBnClickedButton1()
{
CDialog testDlg(IDD_TEST_DIALOG10);
testDlg.DoModal();// Should call OnInitDialog()???
}
What I might be missing??
Mike
|
|
|
|
|
Did you try to debug the macros that are called before the OnInitDialog function call.
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
See this line from your code:
mikert_2008 wrote: CDialog testDlg(IDD_TEST_DIALOG10);
You are creating the dialog as a standard CDialog !
mikert_2008 wrote: I created the Dialog and derived the class for that Dialog box.
Then use your class. For example, if your derived dialog is called
CMyDerivedDialog<br /> create your dialog like this:
void CtestDialog2Dlg::OnBnClickedButton1()
{
CMyDerivedDialog testDlg;
testDlg.DoModal();
}
and you should be able to catch the OnInitDialog() .
|
|
|
|
|
I've got a class that's derived from both CWnd and CListCtrl. I'm using it to view events and so it's inserting new events every 15-30 seconds.
When newly inserted items overflows the current view and causes the scroll bar to appear, I resize the window so that I can view all the items. This causes 1 to 2 blank lines to appear at the top of the CListCtrl. Any subsequent resizing up and down of the CListCtrl causes flickering and some of the column's values to be blank.
I'm wondering if anyone has seen this problem before and/or how it can be fixed.
Thanks heaps in advance.
|
|
|
|
|
Perhaps a CListView control would be better as it handles all the scrolling and repainting automatically.
It's time for a new signature.
|
|
|
|
|
I'm getting the same thing with a CListView derived class.
If you solve this issue - please let me know...
Thanks.
|
|
|
|
|
Hello,
I have spent weeks researching how to read/write remote registry values through WMI (StdRegProv). All examples out there are script based.
Currently I am able to connect/authenticate to a remote machine, pull standard WMI information like OS, CPU etc.. but reading/writing to the registry seems to be a totally different animal.
Has anyone had any experience using WMI with C++ to read/write remote registry values?
Thanks in advance,
Rob
Whoever said nothing is impossible never tried slamming a revolving door!
|
|
|
|
|
Your problem may be related to this[^].
Not to be picky, but why don't you connect to the remote registry directly[^]? That's how the registry editor does it.
Oh, and if you're trying to access a user hive, it wont work, because it will not be loaded.
|
|
|
|
|
Thanks! I didn't know about that other method of connecting to the registry, I will give that a shot.
Thank you,
Rob
Whoever said nothing is impossible never tried slamming a revolving door!
|
|
|
|
|
RobJones wrote: other method of connecting to the registry
It needs the remote registry service, which is normally active. Just in case you don't know where to look if it fails
|
|
|
|
|
Hi,
I have the dialog box. Which I am using as Modal dialog box with DoModal functionality. I need to change the Title(Caption) of dialog box before calling the domodal(). Since I am deciding the title of dialog box at run time I can't use the resource setting. One way I know to change the title of Modal Dialog Box is to use OnInitDialog() function of the class derived from the DialgBox and then call setwindowtext() function inside it. But I want to change the title/cation without using OnInitDialog as the project I am working doesn't have class derived from it. And doesn't look proper to genrate the class just for this purpose.
Can anybody knows the other way of doing it??
Thanks in advance..
Mike.
|
|
|
|
|
define a public string member in your dialog class which get set between ctor and oninit and will do setwindowtext()in your OnInitDialog()
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Hi,
As I mentioned I am not having any Dialog class where I can use the OnInitDialog() function. I want to do it without using it. What I am trying for is the without using separate dialog class for it.
Thanks
Mike
|
|
|
|