 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Simon Guest
|
Posted: Fri Feb 27, 2004 8:38 am Post subject: SysListView32 |
|
|
Greetings,
I'm using VC++. I would like to create a listview on my main window. I
tried using the following code, but CreateWindowEx returned zero:
hWnd2 = CreateWindowEx(0x200, "SysListView32", "", 0x50000001, 10, 10, 200,
200, hWnd, NULL, hInst, NULL);
If I replace "SysListView32" with "button", a button will be created. So you
can be sure that all my other code and the variables are fine.
What is wrong with my code?
Is there a non-mfc vc++ tutorial on the Internet?
Thanx in advance...
Simon
|
|
| Back to top |
|
 |
Jonathan Turkanis Guest
|
Posted: Fri Feb 27, 2004 8:44 am Post subject: Re: SysListView32 |
|
|
"Simon" <cwtseng (AT) hotmail (DOT) com> wrote
| Quote: | Greetings,
I'm using VC++. I would like to create a listview on my main
window. I
tried using the following code, but CreateWindowEx returned zero:
|
I see you posted this also to microsoft.public.vc.languages. Why post
here as well? It's microsoft-specific.
Jonathan
|
|
| Back to top |
|
 |
Sharad Kala Guest
|
|
| Back to top |
|
 |
Simon Guest
|
Posted: Fri Feb 27, 2004 9:40 am Post subject: Re: SysListView32 |
|
|
You are right. I posted first to microsoft.public.vc.languages then this
group. I didn't know this group is supposed to be totally
microsoft-irrelevant. Now I know. But was it really necessary to feel so
offended about my post?
"Jonathan Turkanis" <technews (AT) kangaroologic (DOT) com> wrote
| Quote: |
"Simon" <cwtseng (AT) hotmail (DOT) com> wrote in message
news:403f0218_2 (AT) news (DOT) tm.net.my...
Greetings,
I'm using VC++. I would like to create a listview on my main
window. I
tried using the following code, but CreateWindowEx returned zero:
I see you posted this also to microsoft.public.vc.languages. Why post
here as well? It's microsoft-specific.
Jonathan
|
|
|
| Back to top |
|
 |
John Carson Guest
|
Posted: Fri Feb 27, 2004 9:51 am Post subject: Re: SysListView32 |
|
|
"Simon" <cwtseng (AT) hotmail (DOT) com> wrote
| Quote: | You are right. I posted first to microsoft.public.vc.languages then
this group. I didn't know this group is supposed to be totally
microsoft-irrelevant. Now I know. But was it really necessary to feel
so offended about my post?
|
"so offended"? He simply asked why you did it. Anyone who posts
Microsoft-specific questions on this newsgroup is told (not usually by
Jonathan) to post on a Microsoft-specific newsgroup instead. It happens
almost every day. The reason for this redirection is because
1. better advice is available elsewhere,
2. the number of potential posters on Microsoft-specific matters is enormous
and people don't want this group cluttered with a whole lot of off-topic
posts.
--
John Carson
1. To reply to email address, remove donald
2. Don't reply to email address (post here instead)
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|