HardwareHeaven.com
Looking for the skin chooser?
 
 
  • Home

  • Reviews

  • Articles

  • News

  • Tools

  • GamingHeaven

  • Forums

  • Network

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP


Reply
 
Thread Tools
Old Mar 25, 2005, 09:35 AM   #1
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

kX and VC++ questions

Whats the story with using C++ control classes instead of, or in conjunction with kX control classes. I realize that kX versions of some of the VC++ control classes exist, but some have only limited functionality, etc. Are there any issues with using VC++ control classes in kX plugins? (i.e. kStatic, does not seem to have a center text option, nor does it have a setting for height (so you cannot use muliple lines). You could use the ModifyStyle function to add the SS_CENTER style, and resize it using MoveWindow, or whatever, but it would seem easier to just use CStatic instead. There are similair issues with some of the other kX control classes).

What about using a dialog created in the dialog editor?

Where is the best place to free resources used by the plugin?

-Russ
Russ is online now   Reply With Quote


Old Mar 25, 2005, 11:51 AM   #2
kX user
 
Join Date: Apr 2004
Posts: 851
Rep Power: 0
Tiger M is on a distinguished road

You mean MFC controls. You can use whatever you like, if you examine the headers you'll see that every kX control inherits kWindow and kWindow inherits CWnd. You can use all the functions in those two classes to modify the controls. Some custom controls that I use in my plugins (knob, led counter, graphs) are MFC controls, because I could use them in other apps, not only kX.
__________________
Miss you, Steve...
Tiger M is offline   Reply With Quote
Old Mar 25, 2005, 11:54 AM Threadstarter Thread Starter   #3
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Yes, I mean MFC controls. I figured that was the case, but wanted to be sure.

Thanks,
-Russ
Russ is online now   Reply With Quote
Old Mar 25, 2005, 12:34 PM Threadstarter Thread Starter   #4
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

BTW: In addition to the previous questions:

What value are you using for WINVER (or are you even bothering)?

Since kX supports OS's back to Win98SE, then I would guess that we would need to set WINVER (_WIN32_WINDOWS) to 0x0410 (Win98). What IE Version (_WIN32_IE)?

-Russ
Russ is online now   Reply With Quote
Old Mar 25, 2005, 01:58 PM   #5
kX user
 
Join Date: Apr 2004
Posts: 851
Rep Power: 0
Tiger M is on a distinguished road

Doesn't matter I think
__________________
Miss you, Steve...
Tiger M is offline   Reply With Quote
Reply

Bookmarks

Thread Tools