昨天把KAI斑竹的代码看了一遍,头晕了,我把潭浩强的C编程看了多遍,感觉还不错,为啥就看不明白KAI斑竹的代码呢,
请大家说,我因该看什么书才能看懂KAI斑竹写的代码呢.
是WINDOWS基础编程吗
[此贴子已经被作者于2005-10-15 14:24:55编辑过]
师傅啊,东挪西借,总算做好这个题了, 不过没有自动调节适应的功能,我正在想,,, 学了不少知识, 只可惜代码不是VC的,是VB的.VC的却很有难度.我还在看, 下来该咋办呢, 附件里有程序演示 这是所有的程序代码,Private Sub BB_Click() CommonDialog1.FileName = "" CommonDialog1.Flags = vbOFNFileMustExist CommonDialog1.Filter = "ALL Files|*.*|*.jpg|*.JPG" CommonDialog1.FilterIndex = 2 CommonDialog1.DialogTitle = "Open File(*.jpg)" CommonDialog1.ShowOpen If CommonDialog1.FileName = "" Then MsgBox "No file selectd", 37, "Checking" Else
Picture1.Picture = LoadPicture(CommonDialog1.FileName)
End If End Sub
Private Sub CC_Click() CommonDialog1.CancelError = False CommonDialog1.DefaultExt = "jpg" CommonDialog1.FileName = "SLore.jpg" CommonDialog1.Filter = "*All Files(*.*)|*.*|.jpg|*.JPG" CommonDialog1.FilterIndex = 2 CommonDialog1.DialogTitle = "Save File As(*.jpg)" CommonDialog1.Flags = vbOFNOverwritePrompt Or vbOFNPathMustExist CommonDialog1.ShowSave SavePicture Picture1, CommonDialog1.FileName End Sub Private Sub dd_Click() Unload Me End Sub
[此贴子已经被作者于2005-10-16 20:00:17编辑过]
[此贴子已经被作者于2005-10-18 22:21:54编辑过]