I've another problem related to toolbars. Recently I've read a documentation about TB and there were konstants mentioned that aren't listed in any include-file in the masm32-package.

TBSTYLE_EX_HIDECLIPPEDBUTTONS
TBSTYLE_EX_DRAWDDARROWS
TBSTYLE_EX_MIXEDBUTTONS


RBBS_USECHEVRON
BTNS_SHOWTEXT

TBN_GETINFOTIP
TBN_DROPDOWN

TB_SETEXTENDEDSTYLE
TB_GETEXTENDEDSTYLE

These are only these ones I found very important. I don't know where to find them, so I hope anyone of you could get them from anywhere!
Posted on 2002-08-09 14:06:02 by Marwin
Get the latest platform SDK, it contains everything you need.



#define TBSTYLE_EX_DRAWDDARROWS 0x00000001

#define TBSTYLE_EX_MIXEDBUTTONS 0x00000008
#define TBSTYLE_EX_HIDECLIPPEDBUTTONS 0x00000010 // don't show partially obscured buttons

#define RBBS_USECHEVRON 0x00000200 // display drop-down button for this band if it's sized smaller than ideal width
#define BTNS_SHOWTEXT 0x0040 // ignored unless TBSTYLE_EX_MIXEDBUTTONS is set

(#define TBN_FIRST (0U-700U) // toolbar)
#define TBN_GETINFOTIPA (TBN_FIRST - 18)
#define TBN_DROPDOWN (TBN_FIRST - 10)

#define TB_SETEXTENDEDSTYLE (WM_USER + 84) // For TBSTYLE_EX_*
#define TB_GETEXTENDEDSTYLE (WM_USER + 85) // For TBSTYLE_EX_*


Thomas
Posted on 2002-08-09 14:15:55 by Thomas
Thank you very much Thomas. I've searched for the platform SDK, but never found something. All links someone posted to me were invalid! Maybe you have a valid link?
Posted on 2002-08-11 13:46:46 by Marwin
Look in the FAQ (link in my signature).
Posted on 2002-08-11 14:48:13 by bazik
Yaaahoooo, I have it !!! I've visited this site some times, but what I got was an empty page. Now I've tried it with IE and now I see the whole site. (Normaly I use Opera) I am about to download al the files. Puh, what a luck that I'm surfing in my school (it's for free!! and it's an isdn-connection, at home I only own a 56k modem)
Posted on 2002-08-12 04:10:24 by Marwin
Does the platform SDK also contain a GDI reference bazik?
Posted on 2002-08-12 05:39:46 by Marwin
Afternoon, Marwin

The PSDK contains most of the info you'll need in using the win32 API for general use (GDI/DX/ODBC/etc).
It's one of the "must-have" resources.

Cheers,
Scronty
Posted on 2002-08-12 07:45:45 by Scronty

Does the platform SDK also contain a GDI reference bazik?


See Scronty :)
Posted on 2002-08-12 08:00:04 by bazik
Yes!! I got it! But something confuses me. In the setup-html file you can read that the psdk requires WinXP, Win2k or WinNT 4.0 and that it isn't supported on Win95/98 and Me. Against this it seems to work well on Win98 SE. Can't I use some features or what does this mean?
Posted on 2002-08-14 05:52:36 by Marwin
Afternoon, Marwin.

It means that you've got the NT version of the PSDK?

Did you download it, or paid Microsoft to send the CD? The CD has all versions, doesn't it?

Cheers,
Scronty
Posted on 2002-08-14 06:26:07 by Scronty
No Scronty I've just finished the download.
Posted on 2002-08-14 06:30:05 by Marwin
Afternoon, Marwin.

I'd just ignore that setup-html file.

What're important are the html-help files, the headers, and the librarys. These are for both 9x+NT.

If you haven't figured it out yet, each API function tells you (at the bottom of the particular API functions' page) which library needs to be included, plus which header-file the definition is in.

Cheers,
Scronty
Posted on 2002-08-14 07:00:49 by Scronty
So you mean I don't have to worry?

Marwin
Posted on 2002-08-14 07:16:27 by Marwin
Afternoon, Marwin.

If it installed, then don't worry.

Remember: most of the proggys/examples people make here, can be reassembled on both 9x and NT platforms. Also...the libs which come with the Masm32 package can be used on 9x/NT platforms, and they're just an oldr version of the files you now have.

The only problem you'll find, is if you try to use an API function which *can't* be used on your OS. Apart from that...don't worry ;) .

Cheers,
Scronty
Posted on 2002-08-14 07:36:45 by Scronty
Thank you for your nice words Scronty

;) Marwin
Posted on 2002-08-14 08:04:44 by Marwin
The setup file is probably referring o the whole of the PlatformSDK package - there's content that is NT-only (like some of the binary utilities). But the HtmlHelp, libs and includes should work just fine on 9x, and is what most people need.
Posted on 2002-08-14 09:06:03 by f0dder
Yes f0dder. Right, the binarys. As I wanted to run one of the countless c++ direct3d examples c++ reported that the RC.EXE is to new for my system (Win98SE), so I should update it. Is there no possebility to get the examples running? Maybe I should copy the corresponding file from my masm directory in the psdk binary directory?

:confused: Marwin
Posted on 2002-08-15 04:28:18 by Marwin
Upgrade to win2k ;).
I guess masm32 version of rc.exe should be sufficient though... but instead of overwriting the platformsdk binaries, just set up your PATH correctly.
Posted on 2002-08-15 09:06:15 by f0dder
Why should I set up my path? I think I have to set the path of the workspace! But I've taken a look to every option (I think) and found no edit field where I could select the binary path for this workspace.

Marwin
Posted on 2002-08-15 09:11:08 by Marwin
Afternoon, Marwin.

I'm definitely no expert in M$ VC/C++, however see if this works.
(assuming you've got M$ C/C++6).

On the menu, go to Tools->Options.
On the dialog which pops up, select the Directories tab.
In the Show directories for: combobox, select Executable files.
Double-click on the last (blank) line, and click on the ... which appears on the right-hand-side of the line.
Browse for your /Masm32/bin directory, and then click OK
You'll see your new directory on the last line, still with a text-cursor on the line.
Press Enter, and the text-cursor will disappear.
Drag&Drop that "/Masm32/bin" line to the top of the list.
Click OK.

Cheers,
Scronty
Posted on 2002-08-15 17:21:51 by Scronty