C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SysListView32

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Simon
Guest





PostPosted: Fri Feb 27, 2004 8:38 am    Post subject: SysListView32 Reply with 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:

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





PostPosted: Fri Feb 27, 2004 8:44 am    Post subject: Re: SysListView32 Reply with quote




"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





PostPosted: Fri Feb 27, 2004 8:46 am    Post subject: Re: SysListView32 Reply with quote




"Simon" <cwtseng (AT) hotmail (DOT) com> wrote

Quote:
Greetings,
http://www.slack.net/~shiva/welcome.txt

http://www.parashift.com/c++-faq-lite/misc-environmental-issues.html#faq-39.5



Back to top
Simon
Guest





PostPosted: Fri Feb 27, 2004 9:40 am    Post subject: Re: SysListView32 Reply with 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?


"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





PostPosted: Fri Feb 27, 2004 9:51 am    Post subject: Re: SysListView32 Reply with quote

"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
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.