Front Office Football Central  

Go Back   Front Office Football Central > Archives > FOFC Archive
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 02-05-2004, 03:31 PM   #1
GoldenEagle
Grizzled Veteran
 
Join Date: Dec 2002
Location: Little Rock, AR
Programmers thread

With all the talk of programming on the board lately, I figured I would start a programming thread. I will start off with the first question. Is it possible to set up a tool bar in Photoshop and then link up to Visual C++ using ActiveX (or OLE for you old-timers)?

GoldenEagle is offline   Reply With Quote
Old 02-05-2004, 03:37 PM   #2
gstelmack
Pro Starter
 
Join Date: Oct 2000
Location: Cary, NC
I have no clue. However, if your goal is to add to Photoshop, I'd investigate their plugin SDK. This used to be downloadable from Adobe, and may or may not come on the Photoshop CD.
__________________
-- Greg
-- Author of various FOF utilities
gstelmack is offline   Reply With Quote
Old 02-05-2004, 03:41 PM   #3
GoldenEagle
Grizzled Veteran
 
Join Date: Dec 2002
Location: Little Rock, AR
What I am trying to do is get a drop-down custom toolbar ala OOTP5. I have it designed in Photoshop just need to get it to work properly.
GoldenEagle is offline   Reply With Quote
Old 02-05-2004, 03:42 PM   #4
gstelmack
Pro Starter
 
Join Date: Oct 2000
Location: Cary, NC
Now I'm confused. You designed the look of the toolbar in Photoshop? Where are you intending to place the toolbar?
__________________
-- Greg
-- Author of various FOF utilities
gstelmack is offline   Reply With Quote
Old 02-05-2004, 03:54 PM   #5
GoldenEagle
Grizzled Veteran
 
Join Date: Dec 2002
Location: Little Rock, AR
In the top of the program to replace the windows that AppWizard generates for you.
GoldenEagle is offline   Reply With Quote
Old 02-05-2004, 04:02 PM   #6
Castlerock
High School Varsity
 
Join Date: Jun 2002
Location: Boston, Ma
So you have a bitmap designed in Photoshop that you want to place in your application created with AppWizard. What kind of application is this? (MFC/ATL/Win32/etc)? Is this a brand new toolbar you wish to create? Or do you want to change the bitmap of an existing button on the toolbar?

Last edited by Castlerock : 02-05-2004 at 04:03 PM.
Castlerock is offline   Reply With Quote
Old 02-05-2004, 04:05 PM   #7
GoldenEagle
Grizzled Veteran
 
Join Date: Dec 2002
Location: Little Rock, AR
MFC. I am looking to create a brand new tool bar. I know I need to write new toolbar classes right? I am not sure how the whole ActiveX thing works. If I distribute the program to other users do they ahve to photoshop as well? I really need to read up on ActiveX since people are saying its the future of programming.
GoldenEagle is offline   Reply With Quote
Old 02-05-2004, 04:07 PM   #8
primelord
Pro Rookie
 
Join Date: Oct 2000
Quote:
Originally Posted by GoldenEagle
I really need to read up on ActiveX since people are saying its the future of programming.

Of course they have been saying that for about 8 years now.
primelord is offline   Reply With Quote
Old 02-05-2004, 04:10 PM   #9
Castlerock
High School Varsity
 
Join Date: Jun 2002
Location: Boston, Ma
1) What you have created in PhotoShop is a picture-file right? (BMP/GIF/JPG)
2) Are you looking to distribute an entire application which happens to use your toolbar? Or do you want to distribute your toolbar to others to use in another application? If it is the latter, what application are they going to use the toolbar in?
Castlerock is offline   Reply With Quote
Old 02-05-2004, 04:12 PM   #10
GoldenEagle
Grizzled Veteran
 
Join Date: Dec 2002
Location: Little Rock, AR
I am looking to distribute the application usingthe toolbar - in other words make it a contanier not a server (I think).
GoldenEagle is offline   Reply With Quote
Old 02-05-2004, 04:13 PM   #11
Buccaneer
Head Coach
 
Join Date: Oct 2000
Location: Colorado
You create an ActiveX DLL that has your ------ (toolbar, program, utility, link, program call, whatever). It is the DLL that is distributed with the executable along with any support programs used to create the DLL. For example, I created a huge Map Border DLL (accessible via a toolbar icon) that is used in our GIS program. You have to use some sort of SDK in order for the executable program or application to recognize any additions/changes to the toolbar of the application. I don't know AppWizard but if it's a C++/MFC application, than it should be doable. If the DLL will have Photoshop-based classes, then I would imagine you would have to distribute another DLL to the user as well.
Buccaneer is offline   Reply With Quote
Old 02-05-2004, 06:11 PM   #12
gstelmack
Pro Starter
 
Join Date: Oct 2000
Location: Cary, NC
For VC6 you could start here:

http://msdn.microsoft.com/library/de..._resources.asp

For .NET:

http://msdn.microsoft.com/library/de...ar/reflist.asp
__________________
-- Greg
-- Author of various FOF utilities
gstelmack is offline   Reply With Quote
Old 02-05-2004, 07:37 PM   #13
Mr. Wednesday
Pro Starter
 
Join Date: Jul 2003
Location: South Bend, IN
Quote:
Originally Posted by GoldenEagle
I really need to read up on ActiveX since people are saying its the future of programming.
Are you sure? I thought it was .NET that was the future of programming now (well, that and java, still), and ActiveX was, like, so five years ago.

Which isn't to say that I don't like COM (which is mainly what the "real" technology is behind the marketspeak of "ActiveX").

If you're doing COM work, you should also look at using ATL, which (IMO) is a lot less cumbersome to work with than MFC.

Edit: Remove credentials, nobody else is doing them.

Last edited by Mr. Wednesday : 02-05-2004 at 07:37 PM.
Mr. Wednesday is offline   Reply With Quote
Old 02-06-2004, 07:52 AM   #14
Karim
College Starter
 
Join Date: Oct 2000
Location: Calgary
Do we want this to be a general all-purpose programming thread to compete with the hockey thread?

I'm just starting out in C++ and have lots of questions but don't want to threadjack until GoldenEagle gets his question answered.
Karim is offline   Reply With Quote
Old 02-06-2004, 07:58 AM   #15
klayman
College Benchwarmer
 
Join Date: Oct 2000
Location: Edmonton
Quote:
Originally Posted by Mr. Wednesday
Are you sure? I thought it was .NET that was the future of programming now (well, that and java, still), and ActiveX was, like, so five years ago.

You mean all that FORTRAN I'm learning in school is useless to me?
klayman is offline   Reply With Quote
Old 02-06-2004, 08:08 AM   #16
Fido
High School Varsity
 
Join Date: Aug 2002
Location: New Hampshire, USA
Ok, I'm sufficiently confused now.

Are you looking to...

A) Create the images for a toolbar in photoshop then incorporate those inages into a standalone application.
or
B) Create a toolbar taht will integrate into photoshop to provide additional functionality?
__________________
Author of FOF Reporter and TCY Helper.
Fido is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -5. The time now is 10:18 AM.



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.