flat assembler
Message board for the users of flat assembler.

Index > Windows > spreadsheet questions

Author
Thread Post new topic Reply to topic
moriman



Joined: 01 Apr 2006
Posts: 55
Location: Northern Ireland
moriman
Trying to make a 'simple' (at the moment) spreadsheet app, but having checked win32.hlp I have a couple of questions someone may be able to help with...

1) Do the cells have to be drawn (i.e. lines or rectangles) or is there a proper method of creating cells?

2) How does one access the cells to place data in them and read from them etc.

3) Is there a special window-class or should I use something like a multi-edit \rich-edit control?

thx for any help or pointers Wink

mori
Post 23 Jun 2006, 14:40
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Quote:
1) Do the cells have to be drawn (i.e. lines or rectangles) or is there a proper method of creating cells?

there is no more proper way, they always have to be drawn.only question is whether you want to draw it yourself, or you have some library that is good enough to draw it for you. Using third party library iften isn't PROPER way
Post 23 Jun 2006, 15:10
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier
moriman,

Unless you really want to write the spreadsheet yourself, you can use the RadASM spreadsheet DLL control. A very nice 43 K DLL that allows you to create a custom spreadsheet of your chosen size, with your own formulas, data validation-you write the routines-, and mush more.

Look at www.radasm.com and click at the left side of the screen on RadASM projects, and download the custctl.zip file. It's full of other very useful stuff. The examples are written in MASM syntax, but are very easy to translate.

Very actively supported!

hth,

farrier

_________________
Some Assembly Required
It's a good day to code!
U.S.Constitution; Bill of Rights; Amendment 1:
... the right of the people peaceably to assemble, ...
The code is dark, and full of errors!
Post 23 Jun 2006, 20:58
View user's profile Send private message Reply with quote
moriman



Joined: 01 Apr 2006
Posts: 55
Location: Northern Ireland
moriman
vid: Thx for the reply Wink
I appreciate that any lines have to be drawn. I should have asked more clearly, are there any API's specifically for drawing spreadsheet tables\grids.

farrier: also, thx to you for your reply Wink
I already have the custctl.zip downloaded and agree that it is very nice looking. What I'm attempting, is to do this in an MDI app. At the moment, between frame, client and child windows, I keep getting confused about who owns what Laughing I'm struggling at present with how to display buttons, lines and text in one MDI child window Embarassed I can do it no bother in a single dlg window (as in the custctl.zip).
Post 23 Jun 2006, 22:22
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.