Sunday, 29 September 2013

How can I use CreateWindowEx or CreateWindow function in win32?

How can I use CreateWindowEx or CreateWindow function in win32?

I have to create a program in GDI which was originally created in GTK. The
old program has so many functions and every function has their own list of
parameters, now I have to write same functions with same parameters but
some of those functions are also defined in win32 so I am not able to use
them. For example, there is a function in GTK version, CreateWindow which
takes six parameters and now I have to create the same function with the
same name and with six parameters. But if I use CreateWindow it generates
error because it expects eleven parameters. Any help or any hint will be
much appreciated. I am using C++. Thanks in advance

No comments:

Post a Comment