On Mon, 4 Jul 2005, Mathias PARNAUDEAU wrote: > Hi, > > Me again with new problems ! :) Certainly because I put my hands in various > different classes. Now that's about the HexEdit class. I have a list of > nodes that contains some informations and a data pointer. > > Each time a node becomes active, I want to refresh the view of the hexa > part. I do that : > > set(hex_datas, MUIA_HexEdit_LowBound, atom->data); > set(hex_datas, MUIA_HexEdit_HighBound, atom->data + atom->size - 1); > set(hex_datas, MUIA_HexEdit_BaseAddressOffset, -(LONG)atom->data); > > And even : > > DoMethod(hex_datas, MUIM_HexEdit_Redraw); > > But : > - the addresses at the left are wrong > - the content of the data block is not refresh (stays with the default > view)
LowBound and HighBound are not settable. You must recreate object. > If anyone has an idea ? Maybe this class is not very used. I need it to > display hexa information for my future PowerPoint viewer. For now I am > writing a tool that display the structure of this kind of file. I have to > find the links between the chunks, so I need to read the datas throught my > hexa-decoding eyes :) I used HexEdit.mcc in SmartInfo and that class definitely works but has some limitations. Ilkka -- www.morphos.de Visit http://www.amiga.dk/tumult for MUI-related information, especially about MUI custom classes. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MUI/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
